From 39c153c9966913ac1f38523b56187daede10252e Mon Sep 17 00:00:00 2001 From: Tobias Svensson Date: Fri, 8 Mar 2013 16:47:31 +0000 Subject: [PATCH] Assign correct thread priority. --- 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 c6433d6..15a2c9a 100644 --- a/lib/sidetiq/clock.rb +++ b/lib/sidetiq/clock.rb @@ -92,7 +92,7 @@ module Sidetiq Sidekiq.logger.info "Sidetiq::Clock start" @thread = Thread.start { clock { tick } } @thread.abort_on_exception = true - @thread.priority = Sidetiq.config.resolution + @thread.priority = Sidetiq.config.priority @thread end