From d9c8dc3f7d147a668ef758d37bedb72db6bf5eee Mon Sep 17 00:00:00 2001 From: Tobias Svensson Date: Thu, 31 Jan 2013 17:50:37 +0000 Subject: [PATCH] Inherit clock thread priority from Thread.main. --- lib/sidetiq/clock.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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