Merge pull request #1673 from kumar303/chord-unlock
Tame chord_unlock retries, mitigate inifinite loop
This commit is contained in:
Коммит
f344a2bb2a
|
@ -1177,6 +1177,16 @@ CELERY_ROUTES = {
|
|||
}
|
||||
|
||||
|
||||
# TODO: once we have a fix for chord_unlock errors (redis result
|
||||
# backend?) then we can remove the retries maybe.
|
||||
# See https://github.com/mozilla/addons-server/issues/1653
|
||||
CELERY_ANNOTATIONS = {
|
||||
'celery.chord_unlock': {
|
||||
'max_retries': 10,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
# This is just a place to store these values, you apply them in your
|
||||
# task decorator, for example:
|
||||
# @task(time_limit=CELERY_TIME_LIMITS['lib...']['hard'])
|
||||
|
|
Загрузка…
Ссылка в новой задаче