Skip to content
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

upgrade to celery 4.1.1 #23650

Merged
merged 4 commits into from Mar 14, 2019
Merged

upgrade to celery 4.1.1 #23650

merged 4 commits into from Mar 14, 2019

Conversation

nickpell
Copy link
Contributor

By not upgrading to the latest version of celery we avoid this bug:
celery/celery#4980

The bug is on the 4.3.x roadmap so we should be able to upgrade once that is released.

@nickpell nickpell merged commit c28888d into master Mar 14, 2019
@nickpell nickpell deleted the celery-4.1.1 branch March 14, 2019 21:26
@@ -509,11 +504,11 @@
GET_URL_BASE = 'dimagi.utils.web.get_url_base'

# celery
BROKER_URL = 'redis://localhost:6379/0'
CELERY_BROKER_URL = 'redis://localhost:6379/0'
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@dimagi/team-commcare-hq Heads up that we're now running celery 4. To run celery locally will require updating localsettings with the variable name changes here, and with the changes in localsettings.py

BROKER_URL -> CELERY_BROKER_URL
CELERY_ALWAYS_EAGER -> CELERY_TASK_ALWAYS_EAGER
CELERY_ANNOTATIONS -> CELERY_TASK_ANNOTATIONS
CELERYD_TASK_SOFT_TIME_LIMIT -> CELERY_TASK_SOFT_TIME_LIMIT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product/invisible Change has no end-user visible impact
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants