lib/rocket_job/worker.rb in rocketjob-5.0.0.beta2 vs lib/rocket_job/worker.rb in rocketjob-5.0.0.beta3
- old
+ new
@@ -126,9 +126,9 @@
# Only clear out the current_filter after every `re_check_seconds`
time = Time.now
return unless (time - @re_check_start) > Config.re_check_seconds
@re_check_start = time
- self.current_filter = Config.filter
+ self.current_filter = Config.filter || {}
end
end
end