I am using FastAPISessionMaker in my fastapi app.
I am getting QueuePool limit of size 5 overflow 10 reached, connection timed out, timeout 30.00 error of sqlalchemy.
I checked in code ,there is no support of adding connection pool_size. like below in session maker.
engine = create_engine("mysql://u:p@host/db", pool_size=10, max_overflow=20)
Can you please take pool_size as params.
I am using FastAPISessionMaker in my fastapi app. I am getting QueuePool limit of size 5 overflow 10 reached, connection timed out, timeout 30.00 error of sqlalchemy. I checked in code ,there is no support of adding connection pool_size. like below in session maker. engine = create_engine("mysql://u:p@host/db", pool_size=10, max_overflow=20) Can you please take pool_size as params.