You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a custom recipe that is updating my database.yml file after the sidekiq recipe runs so my database.yml file has pool: #{node['sidekiq']['concurrency']+2}. Before this change I would get frequent ActiveRecord::ConnectionTimeoutError errors.
Im my case, my custom recipe is using sed to find a replace pool: 5 with pool: 7. command "sed -ibak --follow-symlinks 's/pool: #{node['sidekiq']['concurrency']}/pool: #{(node['sidekiq']['concurrency']+2)}/g' #{db_yaml_file}"
Can this change be made in the main sidekiq recipe so I don't have to have a custom recipe?
I have a custom recipe that is updating my database.yml file after the sidekiq recipe runs so my database.yml file has
pool: #{node['sidekiq']['concurrency']+2}
. Before this change I would get frequent ActiveRecord::ConnectionTimeoutError errors.Im my case, my custom recipe is using sed to find a replace
pool: 5
withpool: 7
.command "sed -ibak --follow-symlinks 's/pool: #{node['sidekiq']['concurrency']}/pool: #{(node['sidekiq']['concurrency']+2)}/g' #{db_yaml_file}"
Can this change be made in the main sidekiq recipe so I don't have to have a custom recipe?
Two lines need to be updated:
ey-cookbooks-stable-v5/cookbooks/sidekiq/recipes/setup.rb
Line 44 in ca3fa18
ey-cookbooks-stable-v5/cookbooks/sidekiq/recipes/setup.rb
Line 46 in ca3fa18
The text was updated successfully, but these errors were encountered: