Skip to content

Celery: ignore task results #9944

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions readthedocs/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,7 @@ def TEMPLATES(self):
CELERY_ALWAYS_EAGER = True
CELERYD_TASK_TIME_LIMIT = 60 * 60 # 60 minutes
CELERY_SEND_TASK_ERROR_EMAILS = False
CELERY_IGNORE_RESULT = True
CELERYD_HIJACK_ROOT_LOGGER = False
# This stops us from pre-fetching a task that then sits around on the builder
CELERY_ACKS_LATE = True
Expand Down
1 change: 0 additions & 1 deletion readthedocs/settings/dev.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ def DATABASES(self): # noqa
CELERY_RESULT_BACKEND = 'redis://localhost:6379/0'
CELERY_RESULT_SERIALIZER = 'json'
CELERY_ALWAYS_EAGER = True
CELERY_TASK_IGNORE_RESULT = False

EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'

Expand Down
1 change: 0 additions & 1 deletion readthedocs/settings/docker_compose.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ def DATABASES(self): # noqa
CELERY_RESULT_BACKEND = "redis://cache:6379/0"
CELERY_RESULT_SERIALIZER = "json"
CELERY_ALWAYS_EAGER = False
CELERY_TASK_IGNORE_RESULT = False

EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend"

Expand Down