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:
parent
3834c2e3e7
commit
39c153c996
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue