Skip to content

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.

2 participants