dmontagu / fastapi-utils

Reusable utilities for FastAPI
MIT License
1.91k stars 166 forks source link

[FEATURE] #278

Open aghure opened 1 year ago

aghure commented 1 year ago

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.

priyanshu-panwar commented 1 year ago

This project seems to be dead now. You can collaborate here : https://github.com/priyanshu-panwar/fastapi-utilities | This is based on the same project. https://pypi.org/project/fastapi-utilities/0.1.0/