Commit graph

6 commits

Author SHA1 Message Date
Jason Robinson
78299c9e2f Consolidate amount of sidekiq queues from 13 to 5
Sidekiq documentation says 'Sidekiq is not designed to work well with dozens of queues.'. Having the amount of queues we have at the moment brings no anyway.

Closes #5571
2016-08-10 08:51:22 +00:00
Jonne Haß
58a355ed01
Expose Sidekiq dead job queue configuration options
Set the default limit of dead jobs to 5k, which should equal to about 50M memory
usage in the worst case. Sidekiq's default is 10k. Set the expiration
timeout to 6 weeks, matching our minor release schedule. Sidekiq's
default is 6 months.

Given the new federation code stores the XML payload in the job
parameters, fine-tuning here can give more significant memory savings.
2016-07-20 15:21:17 +02:00
Lincoln Stoll
6ac6dc1059 Don't set key for logfile on Heroku
This fixes the issue reported in #5947. Sidekiq will only log to stdout when this key evals to false, so this can't be forced with an empty string. This change eliminates the key altogether when running on Heroku.

closes #6500
2015-10-14 11:00:42 +02:00
Jonne Haß
e7b92c15e2 Replace export_photos and export_users by export queue 2015-03-06 00:38:16 +01:00
Jason Robinson
5466362cc4 Add missing export_user queue to sidekiq config 2015-01-17 19:17:55 +02:00
Jonne Haß
c5bc495f3f move sidekiq configuration from initializer to sidekiq.yml 2014-12-01 02:18:28 +01:00