canvas-lms/config/delayed_jobs.yml.example

26 lines
755 B
Plaintext
Raw Normal View History

2011-02-01 09:57:29 +08:00
production:
workers:
- queue: canvas_queue
workers: 2
max_priority: 10
- queue: canvas_queue
workers: 4
# 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
#
# 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
#
# disable periodic jobs auditor -- this isn't normally necessary
# disable_periodic_jobs: true
#
# 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