-
-
Save mccun934/f9207aeb635ee2fb925f30493a477685 to your computer and use it in GitHub Desktop.
Increase number of workers for dynflow in Foreman
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
saving for later