mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 02:40:53 -06:00
384135845b
This commit introduces an ultra low priority queue for post rebakes. This way rebakes can never interfere with regular sidekiq processing for cases where we perform a large scale rebake. Additionally it allows Post.rebake_old to be run with rate_limiter: false to avoid triggering the limiter when rebaking. This is handy for cases where you want to just force the full rebake and not wait for it to trickle
6 lines
229 B
Bash
Executable File
6 lines
229 B
Bash
Executable File
#!/bin/bash
|
|
|
|
PARAMS="$@"
|
|
CMD="cd /src && USER=discourse RAILS_ENV=${RAILS_ENV:=development} bundle exec sidekiq -q critical -q low -q default -q ultra_low"
|
|
docker exec -it -u discourse:discourse discourse_dev /bin/bash -c "$CMD"
|