summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Vosmaer <contact@jacobvosmaer.nl>2016-03-10 18:41:57 +0100
committerJacob Vosmaer <contact@jacobvosmaer.nl>2016-03-10 18:41:57 +0100
commit7b2bf4ce7589f73bf98a754fecb89d4f92d410b3 (patch)
tree1e5ed8efcb3eb2f8ceefccaf243524964bfb19b4
parent6bfff2fab22d3a9e22d4c239fe69377de9e025f5 (diff)
downloadgitlab-ce-expiring-lock.tar.gz
-rw-r--r--lib/gitlab/exclusive_lease.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/exclusive_lease.rb b/lib/gitlab/exclusive_lease.rb
index 1d2d6981c59..2ef50286b1d 100644
--- a/lib/gitlab/exclusive_lease.rb
+++ b/lib/gitlab/exclusive_lease.rb
@@ -20,7 +20,7 @@ module Gitlab
@key, @timeout = key, timeout
end
- # Try to obtain the lease. Return true on succes,
+ # Try to obtain the lease. Return true on success,
# false if the lease is already taken.
def try_obtain
# Performing a single SET is atomic