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
Using backburner with ThreadsOnFork in production with Rails 4.2 and postgresql.
If I stop and restart the postgresql service on my Linux box, Rails can reconnect to the new postgresql service but the workers can't access to the new instance of the database.
I'm getting a PG::UnableToSend: no connection to the server error when the postgresql service is stopped and after it's restarted.
Some people had the same kind of problem with other queueing systems, and they recommend to run something like this
Using backburner with
ThreadsOnFork
in production with Rails 4.2 and postgresql.If I stop and restart the postgresql service on my Linux box, Rails can reconnect to the new postgresql service but the workers can't access to the new instance of the database.
I'm getting a
PG::UnableToSend: no connection to the server
error when the postgresql service is stopped and after it's restarted.Some people had the same kind of problem with other queueing systems, and they recommend to run something like this
How can I achieve this with Backburner ?
Should I put this in
config.on_error
?The text was updated successfully, but these errors were encountered: