Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

avoid ActiveRecord connection pool issues #331

Closed
mfenner opened this issue Jun 15, 2015 · 1 comment
Closed

avoid ActiveRecord connection pool issues #331

mfenner opened this issue Jun 15, 2015 · 1 comment

Comments

@mfenner
Copy link
Member

mfenner commented Jun 15, 2015

As per Sidekiq documentation, don't use a concurrency larger than 50 for Sidekiq. Also, use an ActiveRecord connection pool of CONCURRENCY + 5, e.g to still have connections available when CONCURRENCY=0.

@mfenner
Copy link
Member Author

mfenner commented Jun 17, 2015

CONCURRENCY should not be set to more than 50, as per the Sidekiq documentation https://github.com/mperham/sidekiq/wiki/Advanced-Options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant