Sidekiq workers are configured to process queues sequentially
the jobs in the "remote_execution" queue will only be processed only if the "default" queue is empty.
Refs #31964 - Introduce foreman::to_symbolized_yaml
This function symbolizes keys in YAML which is typically what Foreman
config files use. This is hard to achieve with pure Puppet so a Ruby
function is used.
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.
#5 Updated by Ewoud Kohl van Wijngaarden about 1 year ago
- Status changed from Ready For Testing to Closed
Applied in changeset puppet-foreman|616f172d561d1f98c3d3a16bbdf05a12fa71c6a8.