discourse/config
Sam 70269c7c97 FEATURE: tighter limits on per cluster post rebakes
We have the periodical job that regularly will rebake old posts. This is
used to trickle in update to cooked markdown. The problem is that each rebake
can issue multiple background jobs (post process and pull hotlinked images)

Previously we had no per-cluster limit so cluster running 100s of sites could
flood the sidekiq queue with rebake related jobs.

New system introduces a hard limit of 300 rebakes per 15 minutes across a
cluster to ensure the sidekiq job is not dominated by this.

We also reduced `rebake_old_posts_count` to 80, which is a safer default.
2019-01-04 09:24:46 +11:00
..
cloud/cloud66 Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
environments Update Rubocop to 0.60 2018-12-04 10:48:16 +01:00
initializers DEV: avoid require_dependency for some libs 2018-12-31 10:53:30 +11:00
locales FEATURE: Display error message when category restriction is applied for tags 2019-01-04 00:29:13 +05:30
application.rb FEATURE: allow plugins and themes to extend the default CSP (#6704) 2018-11-30 09:51:45 -05:00
boot.rb Update Rubocop to 0.60 2018-12-04 10:48:16 +01:00
cdn.yml.sample
database.yml Support user defined postgres timeouts 2017-10-27 09:59:44 -04:00
deploy.rb.sample enough with the malloc limit, not needed 2016-05-25 21:09:07 +10:00
discourse.config.sample enough with the malloc limit, not needed 2016-05-25 21:09:07 +10:00
discourse.pill.sample Improve bluepill sample config. 2014-01-31 16:09:35 -05:00
discourse_defaults.conf FEATURE: tighter limits on per cluster post rebakes 2019-01-04 09:24:46 +11:00
environment.rb prevent the application from starting in development mode when SMTP settings are changed 2016-06-03 17:39:54 +02:00
logrotate.conf Replace Clockwork with Sidetiq 2013-08-14 21:39:40 +02:00
multisite.yml.production-sample warns sysadmin to rebake all the posts 2013-08-01 22:24:55 +02:00
nginx.global.conf Address @Supermathie's concerns in PR1430 2013-09-30 16:28:22 -04:00
nginx.sample.conf PERF: cache path for svg-sprite in upcoming FA5 2018-11-19 10:34:16 +11:00
projections.json Instead of `.js.handlebars` use `.hbs` for handlebars templates 2014-09-26 15:23:15 -04:00
puma.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
routes.rb UX: Adding reports dashboard tab, new layout, report descriptions (#6790) 2018-12-19 14:44:43 +01:00
sidekiq.yml Opps no reason to limit this to 1. 2017-09-29 08:19:35 +08:00
site_settings.yml FEATURE: tighter limits on per cluster post rebakes 2019-01-04 09:24:46 +11:00
spring.rb BUGFIX: Correct after_fork semantics 2014-03-31 12:34:13 +11:00
thin.yml.sample Add sample Capistrano deployment files 2013-05-02 19:53:37 -07:00
unicorn.conf.rb Allow unicorn timeout to be configurable via ENV. 2018-09-04 13:21:41 +08:00
unicorn_launcher FIX: Increase timeout when trying to reload unicorn. 2018-12-04 13:43:14 +08:00
unicorn_upstart.conf enough with the malloc limit, not needed 2016-05-25 21:09:07 +10:00