mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 21:16:08 +08:00
2b8d4508e5
Use a dedicated thread to run Scheduler::Defer This avoids blocking of a worker during operations that require waiting. In particular uploads risked blocking a unicorn. This also add a queue "length" that discourse prometheus consumes. |
||
---|---|---|
.. | ||
views | ||
defer.rb | ||
manager.rb | ||
schedule_info.rb | ||
schedule.rb | ||
scheduler.rb | ||
web.rb |