mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Tweak for Pro compat
This commit is contained in:
parent
817c8eedc9
commit
38585226a8
2 changed files with 6 additions and 1 deletions
|
@ -4,6 +4,11 @@
|
|||
|
||||
Please see [http://sidekiq.org/](http://sidekiq.org/) for more details and how to buy.
|
||||
|
||||
5.0.1
|
||||
---------
|
||||
|
||||
- Sidekiq::JobSet#scan and #find_job APIs have been promoted to Sidekiq OSS. [#4259]
|
||||
|
||||
5.0.0
|
||||
---------
|
||||
|
||||
|
|
|
@ -525,7 +525,7 @@ module Sidekiq
|
|||
Sidekiq.redis { |c| c.zcard(name) }
|
||||
end
|
||||
|
||||
def scan(match, count: 100)
|
||||
def scan(match, count = 100)
|
||||
return to_enum(:scan, match) unless block_given?
|
||||
|
||||
match = "*#{match}*" unless match.include?("*")
|
||||
|
|
Loading…
Add table
Reference in a new issue