Open Ishankoradia opened 1 month ago
Updated production with the following prefect settings
parameters
PREFECT_SQLALCHEMY_POOL_SIZE
: 10 (currently 5)
PREFECT_API_DATABASE_CONNECTION_TIMEOUT
: 20 (currently 5)
PREFECT_API_DATABASE_TIMEOUT
: 20 (currently 10)
@fatchat
This didn't work. I still see connection errors in worker logs.
We see this error very frequently on production -
sqlalchemy.dialects.postgresql.asyncpg.AsyncAdapt_asyncpg_dbapi.InterfaceError: <class 'asyncpg.exceptions._base.InterfaceError'>: connection is closed