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

backport: indexer: avoid creating a new db pool for the locks #425

Merged
merged 1 commit into from Aug 6, 2021

Conversation

hdonnay
Copy link
Member

@hdonnay hdonnay commented Aug 5, 2021

This change instantiates the DB and passes the pool
around to who needs it. It also introduces a factory function
to create new locks as and when needed (with the same resources).

Backports #408

Signed-off-by: crozzy joseph.crosland@gmail.com
Signed-off-by: Hank Donnay hdonnay@redhat.com

This change instantiates the DB and passes the pool
around to who needs it. It also introduces a factory function
to create new locks as and when needed (with the same resources).

Backports quay#408

Signed-off-by: crozzy <joseph.crosland@gmail.com>
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
@hdonnay hdonnay requested a review from crozzy August 5, 2021 19:33
@hdonnay hdonnay changed the title indexer: avoid creating a new db pool for the locks backport: indexer: avoid creating a new db pool for the locks Aug 5, 2021
@hdonnay hdonnay merged commit 302384b into quay:release-0.4 Aug 6, 2021
@hdonnay hdonnay deleted the backport-04/408 branch August 6, 2021 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants