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. |
||
|---|---|---|
| .. | ||
| defer_spec.rb | ||
| manager_spec.rb | ||
| schedule_info_spec.rb | ||