discourse/lib/demon
Sam 8ec7fd84fd FEATURE: prioritize sidekiq jobs
This commit introduces 3 queues for sidekiq

"critical" for urgent jobs (weighted at 4x weight)
"default" for standard jobs(weighted at 2x weight)
"low" for less important jobs


"critical jobs"

Reset Password emails has been seperated to its own job
Heartbeat which is required to keep sidekiq running
Test email which needs to return real quick


"low priority jobs"

Notify mailing list
Pull hotlinked images
Update gravatar

"default"

All the rest

Note: for people running sidekiq from command line use

bin/sidekiq -q critical,4 -q default,2 -q low
2016-04-07 12:56:43 +10:00
..
base.rb correct regression where monitoring thread crashed out 2015-06-16 11:16:33 +10:00
rails_autospec.rb add qunit to autospec 2013-11-01 23:57:50 +01:00
sidekiq.rb FEATURE: prioritize sidekiq jobs 2016-04-07 12:56:43 +10:00