Skip to content
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.

QueuePool limit of size overflow when frequently login and out #871

Open
yanqingjing opened this issue Oct 15, 2021 · 0 comments
Open

QueuePool limit of size overflow when frequently login and out #871

yanqingjing opened this issue Oct 15, 2021 · 0 comments

Comments

@yanqingjing
Copy link

I followed the document example of flask security with sqlAlchemy from: basic-sqlalchemy-application-with-session

When I was testing the login function, after frequent login and logout(more than 20 time in one minute), the application will crash down and raise exception:

sqlalchemy.exc.TimeoutError: QueuePool limit of size 10 overflow 10 reached, connection timed out, timeout 30 (Background on this error at: http://sqlalche.me/e/13/3o7r)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant