...
(See Heroku developer setup for instructions on setting up heroku command line, including with -r production
configuration).
Disable staff access, so staff can’t trigger ingest with bg jobs that might not be able to be enqueued:
heroku set LOGINS_DISABLED=true
Temporarily disable our hirefire auto-scaling manager, so it will allow our worker count to be scaled down to zero. Just toggle the “enabled” toggle for
worker
at https://manager.hirefire.io/Scale down workers to zero:
heroku ps:scale worker=0 -r production
Disable staff access, so staff can’t trigger ingest with bg jobs that might not be able to be enqueued:
heroku set LOGINS_DISABLED=true
Run the maintenance now per heroku instructions, on production, eg:
heroku -r production redis:maintenance --run REDIS
Enable staff logins again:
heroku set LOGINS_DISABLED=false
Scale workers back up to their default, probably 2 (if you get it wrong hirefire will fix it):
heroku ps:scale worker=2 -r production
Turn on hirefire manager again at https://manager.hirefire.io/
...