Skip to content
This repository was archived by the owner on Aug 26, 2022. It is now read-only.

bug 1268257: Results backend from env, use redis#4615

Merged
escattone merged 1 commit into
mdn:masterfrom
jwhitlock:celery-results-1268257
Jan 4, 2018
Merged

bug 1268257: Results backend from env, use redis#4615
escattone merged 1 commit into
mdn:masterfrom
jwhitlock:celery-results-1268257

Conversation

@jwhitlock

Copy link
Copy Markdown
Contributor

Set the CELERY_RESULTS_BACKEND from the environment, and use Redis DB 1 (namespacing feature to distinguish from DB 0 for task queues) instead of the Django database in development. A similar change is planned in production to reduce database usage.

Set the CELERY_RESULTS_BACKEND from the environment, and use Redis
DB 1 (namespacing feature to distinguish from DB 0 for task queues)
instead of the Django database in development. A similar change is
planned in production to reduce database usage.
@jwhitlock jwhitlock requested a review from jgmize January 4, 2018 15:50
@escattone escattone self-assigned this Jan 4, 2018

@escattone escattone left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This is a great idea, and a good first step towards using it in production. Thanks @jwhitlock!

@escattone escattone merged commit 1af6634 into mdn:master Jan 4, 2018
@jwhitlock jwhitlock removed the request for review from jgmize January 4, 2018 17:40
@jwhitlock jwhitlock deleted the celery-results-1268257 branch January 4, 2018 17:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants