Commit db9299cc by Christina Roberts Committed by GitHub

Merge pull request #13177 from edx/christina/reduce-retries

Reduce the number of retries.
parents 5695cfec 7b92d3cc
......@@ -15,7 +15,7 @@ from openedx.core.djangoapps.course_groups.cohorts import (
LOGGER = get_task_logger(__name__)
@task(bind=True, default_retry_delay=60, max_retries=4)
@task(bind=True, default_retry_delay=60, max_retries=2)
def sync_cohort_with_mode(self, course_id, user_id, verified_cohort_name, default_cohort_name):
"""
If the learner's mode does not match their assigned cohort, move the learner into the correct cohort.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment