1
0
Fork 0
mirror of https://github.com/endofunky/sidetiq.git synced 2022-11-09 13:53:30 -05:00

Assign correct thread priority.

This commit is contained in:
Tobias Svensson 2013-03-08 16:47:31 +00:00
parent 3834c2e3e7
commit 39c153c996

View file

@ -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