diff options
author | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2016-03-10 12:58:51 +0100 |
---|---|---|
committer | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2016-03-10 12:58:51 +0100 |
commit | 66d5d9229de499455ca1c28f1718cec456884685 (patch) | |
tree | e009b0e396021433a2fd663a3996ca4e66cae33f /lib/gitlab/exclusive_lease.rb | |
parent | a28c84b4cab48d4ca7cc39985e1e67155a8a95d5 (diff) | |
download | gitlab-ce-66d5d9229de499455ca1c28f1718cec456884685.tar.gz |
Improve comment
Diffstat (limited to 'lib/gitlab/exclusive_lease.rb')
-rw-r--r-- | lib/gitlab/exclusive_lease.rb | 4 |
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:) |