Replies: 1 comment
-
to work around this you can follow the steps described here connect to the database. This will stop creating new connections on every hot reload and will reuse the existing connection in the development environment |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there any way to hook into when the (node) server hot reloads on save in dev mode?
I'd like to do things like clean up database clients etc when the server hot reloads - after a certain number of hot reloads I see errors like connection / client limits exceeded and have to hard restart the server to continue.
Beta Was this translation helpful? Give feedback.
All reactions