2011-02-01 09:57:29 +08:00
|
|
|
production:
|
|
|
|
workers:
|
|
|
|
- queue: canvas_queue
|
|
|
|
workers: 2
|
|
|
|
max_priority: 10
|
|
|
|
- queue: canvas_queue
|
|
|
|
workers: 4
|
2011-05-14 06:55:09 +08:00
|
|
|
# if set, workers will process this many jobs and then die, causing the pool
|
|
|
|
# to spawn another worker. this can help return memory to the OS.
|
|
|
|
# worker_max_job_count: 20
|
2011-05-20 04:47:33 +08:00
|
|
|
#
|
2011-05-14 06:55:09 +08:00
|
|
|
# if set, workers will die and re-spawn of they exceed this memory usage
|
|
|
|
# threshold. they will only die between jobs, not during a job.
|
|
|
|
# worker_max_memory_usage: 1073741824
|
2011-05-20 04:47:33 +08:00
|
|
|
#
|
|
|
|
# disable periodic jobs auditor -- this isn't normally necessary
|
|
|
|
# disable_periodic_jobs: true
|
2018-05-09 03:33:30 +08:00
|
|
|
#
|
|
|
|
# health_check: # see inst-jobs documentation for possible options
|
|
|
|
# type: consul
|
|
|
|
# service_name: canvas_jobs
|
2011-02-01 09:57:29 +08:00
|
|
|
|
|
|
|
default:
|
|
|
|
workers:
|
|
|
|
- queue: canvas_queue
|