discourse/spec
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
..
components FIX: allow post editing but do not allow ninja edit for active flagged post 2016-03-31 00:11:08 +05:30
controllers FEATURE: prioritize sidekiq jobs 2016-04-07 12:56:43 +10:00
fabricators PERF: move 3 more option columns out of the user table 2016-02-18 16:57:22 +11:00
fixtures new 'enable_staged_users' site setting 2016-03-23 18:56:03 +01:00
helpers modernize user agent "is mobile" test strings 2016-03-27 10:28:18 -07:00
integration Use 4.0 api for job fakes (as opposed to master) 2016-01-01 15:48:49 +11:00
integrity FEATURE: by default users track a group (as opposed to watch) 2016-01-27 21:38:33 +11:00
jobs FEATURE: limit daily emails per user to 100 per day via site setting 2016-03-23 15:08:48 +11:00
mailers FEATURE: limit daily emails per user to 100 per day via site setting 2016-03-23 15:08:48 +11:00
models Remove UserFirst for mention since it can be retrieved elsewhere 2016-04-06 14:01:37 -04:00
phantom_js Okay disable uploads for now, looks like a PhantomJS bug 2015-11-06 14:21:52 -05:00
serializers PERF: move 3 more option columns out of the user table 2016-02-18 16:57:22 +11:00
services FIX: blue notification instead of green for replies/mentions in PMs 2016-03-22 14:28:14 +11:00
support FEATURE: suggested messages for messages 2016-02-03 18:50:05 +11:00
views/omniauth_callbacks Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
rails_helper.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00