parent
6a61e855b3
commit
3f5e19c62a
|
@ -100,7 +100,7 @@ module Jobs
|
||||||
|
|
||||||
@@log_queue ||= Queue.new
|
@@log_queue ||= Queue.new
|
||||||
|
|
||||||
if !@@log_thread || !@@log_thead.alive?
|
if !@@log_thread || !@@log_thread.alive?
|
||||||
@@log_thread = Thread.new do
|
@@log_thread = Thread.new do
|
||||||
loop do
|
loop do
|
||||||
@@logger << @@log_queue.pop
|
@@logger << @@log_queue.pop
|
||||||
|
|
Loading…
Reference in New Issue