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

Fix for db pool timeouts #244

Merged
merged 2 commits into from Oct 3, 2018

Conversation

Projects
None yet
2 participants
@pierre
Member

pierre commented Oct 1, 2018

options_for_klient issues a database call and can cause contentions in a multi-threaded environment.

pierre added some commits Oct 1, 2018

controllers: cache options_for_klient to avoid DB contention
Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
test: remove incorrect test
None of these control tags apply to bundles.

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>

@pierre pierre merged commit 4688c6d into master Oct 3, 2018

6 checks passed

ci/circleci: build-jruby-9.1.14.0 Your tests passed on CircleCI!
Details
ci/circleci: build-ruby-2.4.2 Your tests passed on CircleCI!
Details
ci/circleci: test-mysql-jruby-9.1.14.0 Your tests passed on CircleCI!
Details
ci/circleci: test-mysql-ruby-2.4.2 Your tests passed on CircleCI!
Details
ci/circleci: test-postgresql-jruby-9.1.14.0 Your tests passed on CircleCI!
Details
ci/circleci: test-postgresql-ruby-2.4.2 Your tests passed on CircleCI!
Details

@pierre pierre deleted the fix-for-db-pool-timeouts branch Oct 3, 2018

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