File tree Expand file tree Collapse file tree 4 files changed +6
-2
lines changed
Expand file tree Collapse file tree 4 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ def prepare_item
109109 #
110110 # Call whatever strategry that has been configured
111111 #
112- # @param [Symbol] origin: the origin `:client` or `:server`
112+ # @param [Symbol] origin the origin `:client` or `:server`
113113 #
114114 # @return [void] the return value is irrelevant
115115 #
Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ class Lock
1111 #
1212 # @author Mikael Henriksson <mikael@mhenrixon.com>
1313 class WhileExecuting < BaseLock
14+ #
15+ # @return [String] returns :RUN
1416 RUN_SUFFIX = ":RUN"
1517
1618 include SidekiqUniqueJobs ::OptionsWithFallback
Original file line number Diff line number Diff line change @@ -188,7 +188,7 @@ def ==(other)
188188 #
189189 # @param [Sidekiq::RedisConnection, ConnectionPool] conn the redis connection
190190 # @param [Method] primed_method reference to the method to use for getting a primed token
191- # @param [nil, Integer, Float] time to wait before timeout
191+ # @param [nil, Integer, Float] wait time to wait before timeout
192192 #
193193 # @yieldparam [string] job_id the sidekiq JID
194194 # @yieldreturn [void] whatever the calling block returns
Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ module SidekiqUniqueJobs
55 #
66 # @author Mikael Henriksson <mikael@mhenrixon.com>
77 class Server
8+ #
9+ # @return [Proc] returns a default death handler for the gem to cleanup dead locks
810 DEATH_HANDLER = ( lambda do |job , _ex |
911 return unless ( digest = job [ "lock_digest" ] )
1012
You can’t perform that action at this time.
0 commit comments