| 1 | default: &default |
| 2 | dispatchers: |
| 3 | - polling_interval: 1 |
| 4 | batch_size: 500 |
| 5 | workers: |
| 6 | - queues: "*" |
| 7 | # Each review job can pin a thread on an Onde Cloud request for up to |
| 8 | # ~90s (OndeCloudService::READ_TIMEOUT) — keep concurrency low. |
| 9 | threads: 2 |
| 10 | processes: <%= ENV.fetch("JOB_CONCURRENCY", 1) %> |
| 11 | polling_interval: 0.1 |
| 12 | |
| 13 | development: |
| 14 | <<: *default |
| 15 | |
| 16 | test: |
| 17 | <<: *default |
| 18 | |
| 19 | production: |
| 20 | <<: *default |