jobs: switch from DelayedJob to GoodJob.
Switch the ActiveJob backend from DelayedJob to GoodJob. Differences: * The job worker is run with `bin/good_job start` instead of `bin/delayed_job`. * Jobs have an 8 hour timeout instead of a 4 hour timeout. * Jobs don't automatically retry on failure. * Finishing jobs are preserved and pruned after 7 days.
This commit is contained in:
2
Procfile
2
Procfile
@@ -8,7 +8,7 @@
|
||||
# https://github.com/ddollar/foreman
|
||||
|
||||
web: bin/rails server
|
||||
worker: bin/rails jobs:work
|
||||
worker: bin/good_job start
|
||||
clock: bin/rails danbooru:cron
|
||||
webpack-dev-server: bin/webpack-dev-server
|
||||
# db: docker run --rm -it --name danbooru-postgres --shm-size=8g -p 5432:5432 -e POSTGRES_USER=danbooru - e POSTRES_HOST_AUTH_METHOD=trust -v danbooru-postgres:/var/lib/postgresql/data ghcr.io/danbooru/postgres:14.0
|
||||
|
||||
Reference in New Issue
Block a user