lib/sidekiq/api.rb in sidekiq-7.2.1 vs lib/sidekiq/api.rb in sidekiq-7.2.2

- old
+ new

@@ -771,11 +771,11 @@ # # See the API wiki page for usage notes and examples. # class ScheduledSet < JobSet def initialize - super "schedule" + super("schedule") end end ## # The set of retries within Sidekiq. @@ -785,11 +785,11 @@ # # See the API wiki page for usage notes and examples. # class RetrySet < JobSet def initialize - super "retry" + super("retry") end # Enqueues all jobs pending within the retry set. def retry_all each(&:retry) while size > 0 @@ -806,10 +806,10 @@ # their retries and are helding in this set pending some sort of manual # fix. They will be removed after 6 months (dead_timeout) if not. # class DeadSet < JobSet def initialize - super "dead" + super("dead") end # Add the given job to the Dead set. # @param message [String] the job data as JSON def kill(message, opts = {})