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

Comments

Projects
None yet
1 participant
@mfenner
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

This comment has been minimized.

Show comment
Hide comment
@mfenner

mfenner Jun 17, 2015

Member

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

Member

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