mirror of
https://github.com/discourse/discourse.git
synced 2024-12-20 01:04:09 +08:00
1670ffe82d
In `Jobs::Base::JobInstrumenter.raw_log`, we were creating an instance of `Queue` and then pushing messages to the queue before popping it off the queue in a thread. However, this complexity is not necessary when we can just write directly to the logger without much overhead. This is how all logging is done in other parts of the app as well. |
||
---|---|---|
.. | ||
concerns | ||
onceoff | ||
regular | ||
scheduled | ||
base.rb |