summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/gitlab/exclusive_lease.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab/exclusive_lease.rb b/lib/gitlab/exclusive_lease.rb
index 0ed4c357926..8bf6f13b99d 100644
--- a/lib/gitlab/exclusive_lease.rb
+++ b/lib/gitlab/exclusive_lease.rb
@@ -14,8 +14,8 @@ module Gitlab
# most once an hour). If the timeout is lower than how long your
# operation may take then you cannot count on exclusivity. For example,
# if the timeout is 10 seconds and you do an operation which may take 20
- # seconds then two overlapping operations may hold a lease at the
- # same time.
+ # seconds then two overlapping operations may hold a lease for the same
+ # key at the same time.
#
class ExclusiveLease
def initialize(key, timeout:)