Revision 616f172d
Added by Ewoud Kohl van Wijngaarden about 3 years ago
manifests/service.pp | ||
---|---|---|
}
|
||
|
||
foreman::dynflow::pool { 'worker':
|
||
queues => ['default', 'remote_execution'],
|
||
queues => [['default', 1], ['remote_execution', 1]],
|
||
instances => $dynflow_worker_instances,
|
||
concurrency => $dynflow_worker_concurrency,
|
||
}
|
Also available in: Unified diff
Fixes #31964 - Assign equal weight to sidekiq queues
The previous approach worker, but it made sidekiq default worker process all
items from the default queue before moving to remote execution queue. This
change adds equal weight to the queues, making sidekiq pick jobs from both.