mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-06-13 09:55:52 +08:00
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.
1 line
37 B
Ruby
Vendored
1 line
37 B
Ruby
Vendored
require_dependency 'scheduler/defer'
|