QueuePool limit of size 5 overflow 10 reached

sqlalchemy.exc.TimeoutError: QueuePool limit of size 5 overflow 10 reached, connection timed out, timeout 30.00
  • You must ensure that your sessions are closed; otherwise, they will keep your connections open and never return to the pool.
  • log your pool status at some points, so that you can see how many connections are open.
db.session.commit()

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store