diff --git a/lib/sidekiq/fetch.rb b/lib/sidekiq/fetch.rb index a1d228da..a718dbdb 100644 --- a/lib/sidekiq/fetch.rb +++ b/lib/sidekiq/fetch.rb @@ -83,7 +83,7 @@ module Sidekiq end def self.done? - defined? @done + defined?(@done) && @done end def self.strategy