Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
db9299cc
Commit
db9299cc
authored
Aug 05, 2016
by
Christina Roberts
Committed by
GitHub
Aug 05, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #13177 from edx/christina/reduce-retries
Reduce the number of retries.
parents
5695cfec
7b92d3cc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
lms/djangoapps/verified_track_content/tasks.py
+1
-1
No files found.
lms/djangoapps/verified_track_content/tasks.py
View file @
db9299cc
...
@@ -15,7 +15,7 @@ from openedx.core.djangoapps.course_groups.cohorts import (
...
@@ -15,7 +15,7 @@ from openedx.core.djangoapps.course_groups.cohorts import (
LOGGER
=
get_task_logger
(
__name__
)
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
):
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.
If the learner's mode does not match their assigned cohort, move the learner into the correct cohort.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment