-
Notifications
You must be signed in to change notification settings - Fork 65
Open
Description
In the wild, we have seen transient errors due to a stale connection in the SQLAlchemy PostgreSQL connection pool. I think we should be using pessimistic connection pooling. The causes SQLAlchemy, when checking a connection out of the pool, to verify that it is active before using it.
I looked into this back when drafting AuthN years ago, and at least tried making it configurable. I now think we should just turn this on (pre_ping=True), unconfigurably.
Metadata
Metadata
Assignees
Labels
No labels