Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mccun934/f9207aeb635ee2fb925f30493a477685 to your computer and use it in GitHub Desktop.
Save mccun934/f9207aeb635ee2fb925f30493a477685 to your computer and use it in GitHub Desktop.
Increase number of workers for dynflow in Foreman
cat <<EOF > /usr/share/foreman/config/initializers/foreman_tasks_workers_bump.rb
workers_count = 10
Rails.logger.info("Bumping the number of dynflow worksers to #{workers_count}")
ForemanTasks.dynflow.config.pool_size = workers_count
EOF
service foreman-tasks restart
@mccun934
Copy link
Author

saving for later

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment