Skip to content

DBC22-5399: made sure to close dead db connection and reopen a fresh one when db is down and back#1163

Merged
wmuldergov merged 3 commits intomainfrom
bugfix/DBC22-5399
Jan 13, 2026
Merged

DBC22-5399: made sure to close dead db connection and reopen a fresh one when db is down and back#1163
wmuldergov merged 3 commits intomainfrom
bugfix/DBC22-5399

Conversation

@bcgov-brwang
Copy link
Copy Markdown
Collaborator

No description provided.

Copy link
Copy Markdown
Collaborator

@wmuldergov wmuldergov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bcgov-brwang
Copy link
Copy Markdown
Collaborator Author

Should we be adding CONN_HEALTH_CHECKS? https://docs.djangoproject.com/en/6.0/ref/settings/#conn-health-checks.

Yes, we should add it as well to help prevent db “stale / broken connection” issues. I will update it.

Copy link
Copy Markdown
Collaborator

@wmuldergov wmuldergov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@wmuldergov wmuldergov merged commit a3240af into main Jan 13, 2026
3 checks passed
@wmuldergov wmuldergov deleted the bugfix/DBC22-5399 branch January 13, 2026 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants