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
When my application throws an exception and I try to access an endpoint again, it returns the error "(2013, 'Lost connection to MySQL server during query ([Errno 104] Connection reset by peer)')".
It is as if it were not connected to the database or as if it did not refresh. Using SQLAlchemist I edited the parameters "pool_timeout=60, pool_recycle=280, pool_size=20, max_overflow=50" when I call create_engine, but in ORMAR I don't know how to do it.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When my application throws an exception and I try to access an endpoint again, it returns the error "(2013, 'Lost connection to MySQL server during query ([Errno 104] Connection reset by peer)')".
It is as if it were not connected to the database or as if it did not refresh. Using SQLAlchemist I edited the parameters "pool_timeout=60, pool_recycle=280, pool_size=20, max_overflow=50" when I call create_engine, but in ORMAR I don't know how to do it.
Any idea how to do it?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions