lib/zold/node/spread_entrance.rb in zold-0.14.11 vs lib/zold/node/spread_entrance.rb in zold-0.14.12
- old
+ new
@@ -66,9 +66,10 @@
@entrance.start do
@seen = Set.new
@modified = Queue.new
@push = Thread.start do
Thread.current.abort_on_exception = true
+ Thread.current.priority = -100
Thread.current.name = 'push'
VerboseThread.new(@log).run(true) do
loop do
id = @modified.pop
if @remotes.all.empty?