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
RuntimeError('Event loop is closed') #939
Comments
are you spawning multiple threads? |
I am not. The app is being run asyncio as visible in the main() function I added in the problem description.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: