Skip to content

Commit

Permalink
Merge pull request #1673 from kumar303/chord-unlock
Browse files Browse the repository at this point in the history
Tame chord_unlock retries, mitigate inifinite loop
  • Loading branch information
kumar303 committed Feb 11, 2016
2 parents 91fab80 + 4a6bb38 commit f344a2b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/olympia/lib/settings_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1177,6 +1177,16 @@ def JINJA_CONFIG():
}


# 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'])
Expand Down

0 comments on commit f344a2b

Please sign in to comment.