diff --git a/lib/sidetiq/clock.rb b/lib/sidetiq/clock.rb index 7f6738e..20089ce 100644 --- a/lib/sidetiq/clock.rb +++ b/lib/sidetiq/clock.rb @@ -1,6 +1,6 @@ module Sidetiq configure do |config| - config.priority = Thread.current.priority + config.priority = Thread.main.priority config.resolution = 0.2 end