mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 06:49:14 +08:00
parent
6a61e855b3
commit
3f5e19c62a
|
@ -100,7 +100,7 @@ module Jobs
|
|||
|
||||
@@log_queue ||= Queue.new
|
||||
|
||||
if !@@log_thread || !@@log_thead.alive?
|
||||
if !@@log_thread || !@@log_thread.alive?
|
||||
@@log_thread = Thread.new do
|
||||
loop do
|
||||
@@logger << @@log_queue.pop
|
||||
|
|
Loading…
Reference in New Issue
Block a user