mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
rdoc for #2691
This commit is contained in:
parent
98aa23e4ae
commit
dc8afa7faf
1 changed files with 2 additions and 0 deletions
|
@ -54,6 +54,8 @@ module Sidekiq
|
|||
client_push('class' => self, 'args' => args)
|
||||
end
|
||||
|
||||
# +interval+ must be a timestamp, numeric or something that acts
|
||||
# numeric (like an activesupport time interval).
|
||||
def perform_in(interval, *args)
|
||||
int = interval.to_f
|
||||
now = Time.now
|
||||
|
|
Loading…
Add table
Reference in a new issue