-
Notifications
You must be signed in to change notification settings - Fork 53
Reconnection after connection lost #26
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
Comments
seems I am having same problem, sometime its get disconnected and unable to reconnect. pls suggest. |
I'm also getting an error like that. I'm watching for those database events to notify users and at some point it stops working. |
I will detail some designs - but I've introduced a health check in another process that causes a restart on pm2 if the service fails. async function getConnection() { |
does anyone has found a way to keep connected ? I have a problem that the connection can break on the middle of a processing that is activated by a insert trigger. |
I use dynamodb to pick up from the last known rowid / timestamp that's been processed. |
Hi, congratulations for this module, I use it in production on my platform.
I use pm2 as a process manager.
Sometimes I get the following error:
I think it's because my app occasionally disconnects from the database.
I found this and much more, but I'm not sure how to adapt it to your model with this different syntax, could you help me out? it could be useful for many.
Thanks
The text was updated successfully, but these errors were encountered: