Skip to content

Commit 500785a

Browse files
ryshuKl0ven
authored andcommitted
fix: remove unused 'django-celery-results' to prevent WALs problems
Remove the unused 'django-celery-results' from dependencies to prevent WALs problems in storages like postgresql. The module isn't used and we need to any ressources usages if we don't need to.
1 parent e5da490 commit 500785a

File tree

3 files changed

+44
-46
lines changed

3 files changed

+44
-46
lines changed

controller/settings.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,6 @@
116116
"health_check.db", # stock Django health checkers
117117
"health_check.cache",
118118
"health_check.storage",
119-
"django_celery_results",
120119
"vendor_files",
121120
"controller.sentry",
122121
]
@@ -287,7 +286,6 @@
287286
CELERY_ACCEPT_CONTENT = ["json"]
288287
CELERY_ACKS_LATE = True
289288
CELERY_PREFETCH_MULTIPLIER = 1
290-
CELERY_RESULT_BACKEND = "django-db"
291289
CELERY_BROKER_URL = f"amqp://{BROKER_USER}:{BROKER_PASSWORD}@{BROKER_HOST}:{BROKER_PORT}/{BROKER_VHOST}"
292290

293291
CELERY_BEAT_SCHEDULE = {

poetry.lock

Lines changed: 44 additions & 43 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ pytest-xdist = "^3.1.0"
2626
undecorated = "^0.3.0"
2727
django-health-check = "^3.17.0"
2828
celery = "^5.2.7"
29-
django-celery-results = "^2.4.0"
3029
sentry-dynamic-sampling-lib = "^1.1.3"
3130
sentry-sdk = "^1.14.0"
3231
django-nonrelated-inlines = "^0.2"

0 commit comments

Comments
 (0)