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

Fix active record connection pool exhaustion #268

Merged
merged 6 commits into from
Sep 14, 2020
Merged

Fix active record connection pool exhaustion #268

merged 6 commits into from
Sep 14, 2020

Conversation

prburgu
Copy link
Contributor

@prburgu prburgu commented Sep 11, 2020

No description provided.

@prburgu prburgu marked this pull request as ready for review September 11, 2020 20:13
Copy link

@nickelser nickelser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think it makes sense, but i don't have a good mental model of why this fixes it completely. can you document the changes a bit more in the PR description itself? and, i think a test case that demonstrates this would be good too.


control_method :close, :steal!, :expire, :lease, :in_use?, :owner, :schema_cache,
:schema_cache=, :_run_checkin_callbacks, :_run_checkout_callbacks, :lock, :seconds_idle
control_method :close, :steal!, :expire, :lease, :in_use?, :owner, :schema_cache, :pool=, :pool,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

might be worth documenting send_to_all vs control_method and the rationale here

@overlycommonname overlycommonname merged commit 5575910 into instacart:instacart-main Sep 14, 2020
@sdhull
Copy link

sdhull commented Oct 21, 2022

I know it's been awhile but I too would like some insight into what the problem was and how this fixed it

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

Successfully merging this pull request may close these issues.

4 participants