You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
"PG::Error: connection is closed" when enqueuing a job in a connection shared with ActiveRecord #141
We're using QC 2.1.3 in a Rails 3.2.13 app, with the version 0.14.1 of the pg gem. Sometimes we get a PG::Error: connection is closed error when enqueuing jobs. Unfortunately I haven't been able to reproduce the problem in a controlled environment.
great! Thanks for reporting ❤️ let me close this one for now as it is not related to the QC core. I am working on a better integration with Rails so I hope to resolve this problem in the future: #134
Activity
senny commentedon Apr 8, 2013
Do you use
QC_DATABASE_URLto connect to your database or do you reuse a connection for example from Active Record?raul commentedon Apr 8, 2013
I share Active Record´s:
senny commentedon Apr 9, 2013
reusing the Active Record connection is not working flawlessly at the moment. You can find the discussion here #96 and here #134.
raul commentedon Apr 10, 2013
Good call, thanks! We're using it with its own connection now, I'll update the issue if we notice it gets more stable.
raul commentedon Apr 12, 2013
This is looking good - no issues since we stopped sharing the ActiveRecord connection.
senny commentedon Apr 12, 2013
great! Thanks for reporting ❤️ let me close this one for now as it is not related to the QC core. I am working on a better integration with Rails so I hope to resolve this problem in the future: #134