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 for resque-heroku disconnecting DB #96

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

justin808
Copy link

When using the resque-heroku gem (simple10/resque-heroku@a839554), the database connection is killed after a job is run.

This patch addresses that issue.

Review on Reviewable

This is helpful when using the resque-heroku gem, as it disconnects the
database connection unless Resque.inline? per this commit:
simple10/resque-heroku@a839554

The writer for ResqueSpec.inline = is what sets the value for
Resque.inline
This ensures that resque-heroku does not close the connection.
@leshill
Copy link
Owner

leshill commented Jan 29, 2014

Hi @justin808,

Thanks! This looks good. I will be pulling this in after I consider a smallish tweak.

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.

None yet

2 participants