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
I am not. The app is being run asyncio as visible in the main() function I added in the problem description.
This problem goes away if I explicitly call connect and disconnet before every request.
Bug description
Getting RuntimeError('Event loop is closed') for every 2nd request
How to reproduce
Prisma client Connect is called once while starting the server as visible below
This is what the main.py file looks like
Every 2nd request fails with the following logs
Expected behavior
Prisma information
Environment & setup
The text was updated successfully, but these errors were encountered: