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

Refactored code to depend on connection handler's #with_connection inste... #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Refactored code to depend on connection handler's #with_connection inste... #5

wants to merge 1 commit into from

Conversation

eric-chahin
Copy link

...ad of #connection.

Any place that called #connection that did not store it in some field was changed to use #with_connection because #with_connection will create a connection, run the block that needs that connection, and then let go of the connection so that connections aren't held onto.

This is a WIP. I needed to comment out two test cases that were specifically looking for #connection. I know I made a lot of sweeping changes so I would greatly appreciate feedback.

…stead of #connection.

Any place that called #connection that did not store it in some field was changed to use #with_connection because #with_connection will create a connection, run the block that needs that connection, and then let go of the connection so that connections are held onto.
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.

1 participant