diff --git a/bin/worker b/bin/worker index 4195e394..edfb2576 100755 --- a/bin/worker +++ b/bin/worker @@ -9,4 +9,4 @@ else puts 'DATABASE_URL not set, no pool change needed' end -exec "echo $DATABASE_URL && echo ${GOOD_JOB_QUEUES:--auxiliary} && bundle exec good_job start" \ No newline at end of file +exec "echo $DATABASE_URL && bundle exec good_job start" \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 28dea7ab..696e82ab 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -219,6 +219,8 @@ services: worker: <<: *app-worker + environment: + - GOOD_JOB_QUEUES=-auxiliary ################################################################################ ## Note on commands: by default the commands don't run bundle. That is to ## reduce boot times. However, when the application is in active diff --git a/ops/dev-deploy.tmpl.yaml b/ops/dev-deploy.tmpl.yaml index 3e32c094..bf607a13 100644 --- a/ops/dev-deploy.tmpl.yaml +++ b/ops/dev-deploy.tmpl.yaml @@ -245,9 +245,9 @@ workerAuxiliary: fsGroupChangePolicy: "OnRootMismatch" extraVolumeMounts: *volMounts extraEnvVars: *envVars - extraDeployEnvVars: - - name: GOOD_JOB_QUEUES - value: "*" + # extraDeployEnvVars: + # - name: GOOD_JOB_QUEUES + # value: "*" extraDeploy: - |-