summaryrefslogtreecommitdiff
path: root/app/services/users
diff options
context:
space:
mode:
authorCindy Pallares <cindy@gitlab.com>2019-04-11 17:38:28 -0500
committerCindy Pallares <cindy@gitlab.com>2019-04-11 17:38:28 -0500
commit65b4b0cf468744b4e7ed7a874b1eb920317c0d43 (patch)
tree35393df96e82a5c1a39b18c056d3bb72e1e97914 /app/services/users
parente605d8c95d39cb361d69b4a122f9e34bc7d2677d (diff)
downloadgitlab-ce-65b4b0cf468744b4e7ed7a874b1eb920317c0d43.tar.gz
Fix typo in activity leasefix-typo-activity-lease
Diffstat (limited to 'app/services/users')
-rw-r--r--app/services/users/activity_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/users/activity_service.rb b/app/services/users/activity_service.rb
index e50840a9158..33444c2a7dc 100644
--- a/app/services/users/activity_service.rb
+++ b/app/services/users/activity_service.rb
@@ -30,7 +30,7 @@ module Users
return if @user.last_activity_on == today
- lease = Gitlab::ExclusiveLease.new("acitvity_service:#{@user.id}",
+ lease = Gitlab::ExclusiveLease.new("activity_service:#{@user.id}",
timeout: LEASE_TIMEOUT)
return unless lease.try_obtain