Add Prisma connection retry with exponential backoff for transient errors #1050

Open
opened 2026-04-12 11:33:54 -04:00 by pook · 0 comments
Owner

The app crashes on database connection errors during startup or transient network blips (related to issue #687's container startup wait). Add retry logic: on connection error, retry up to 3 times with 1s, 2s, 4s exponential backoff. Log each retry. If all retries fail, exit with code 1 and clear error message. This complements #1047 (pool limits) by handling the retry case.


Generated by CEO Planner (priority: 3)

The app crashes on database connection errors during startup or transient network blips (related to issue #687's container startup wait). Add retry logic: on connection error, retry up to 3 times with 1s, 2s, 4s exponential backoff. Log each retry. If all retries fail, exit with code 1 and clear error message. This complements #1047 (pool limits) by handling the retry case. --- *Generated by CEO Planner (priority: 3)*
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pook/compliancebot#1050
No description provided.