diff --git a/CHANGELOG.md b/CHANGELOG.md index 38ac1685..295cadc6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,17 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## Unreleased + +### Added + +- Add [`django-dbconn-retry` library](https://github.com/jdelic/django-dbconn-retry) to `INSTALLED_APPS` to attempt + to alleviate occasional `django.db.utils.OperationalError` errors + +### Changed + +### Fixed + ## v1.1.20 (2023-01-30) ### Added diff --git a/engine/requirements.txt b/engine/requirements.txt index 6751c1ce..ace5bb9c 100644 --- a/engine/requirements.txt +++ b/engine/requirements.txt @@ -45,4 +45,5 @@ opentelemetry-instrumentation-celery==0.36b0 opentelemetry-instrumentation-pymysql==0.36b0 opentelemetry-instrumentation-wsgi==0.36b0 opentelemetry-exporter-otlp-proto-grpc==1.15.0 -pyroscope-io==0.8.1 \ No newline at end of file +pyroscope-io==0.8.1 +django-dbconn-retry==0.1.7 diff --git a/engine/settings/base.py b/engine/settings/base.py index cd4e8237..be04ad98 100644 --- a/engine/settings/base.py +++ b/engine/settings/base.py @@ -220,6 +220,7 @@ INSTALLED_APPS = [ "social_django", "polymorphic", "fcm_django", + "django_dbconn_retry", ] REST_FRAMEWORK = {