[Prod] Share pitchfork config

Somewhat exercise the custom logic during development
This commit is contained in:
Earlopain 2024-05-07 21:54:25 +02:00
parent 2c60ec69c8
commit 4c58f4988f
No known key found for this signature in database
GPG Key ID: 48860312319ADF61
3 changed files with 1 additions and 5 deletions

View File

@ -1,4 +1,4 @@
server: bin/rails server -p 9000 -b 0.0.0.0 --pid=/tmp/rails-server.pid
# server: bundle exec pitchfork -c config/pitchfork/development.rb
# server: PITCHFORK_LISTEN_ADDRESS=0.0.0.0:9000 PITCHFORK_WORKER_COUNT=2 bundle exec pitchfork -c config/pitchfork.rb
jobs: SIDEKIQ_QUEUES="low_prio:1;video:1;iqdb:1;tags:2;default:3;high_prio:5" bundle exec sidekiq
cron: run-parts /etc/periodic/daily && crond -f

View File

@ -1,4 +0,0 @@
# frozen_string_literal: true
worker_processes 2
listen "0.0.0.0:9000"