sql connection time-out crashed application #2213
Unanswered
merthanmerter
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I migrated to drizzle-orm from type-orm recently but now my app crashes when mysql database connection is idle for a while. I didn't encounter this with any other orm before. According to documentation, I tought drizzle manages opening and closing connections but it seems to be connecting only once. I came up with below approach but I'm not sure if this is a good practice. any ideas would be highly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions