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
6919fc8c
Commit
6919fc8c
authored
7 years ago
by
Alex Dusenbery
Committed by
Alex Dusenbery
7 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use kwargs right.
parent
1d04f60b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
+1
-2
lms/djangoapps/grades/tasks.py
+1
-2
No files found.
lms/djangoapps/grades/tasks.py
View file @
6919fc8c
...
...
@@ -64,9 +64,8 @@ def compute_all_grades_for_course(**kwargs):
'course_key'
:
course_key_string
,
'offset'
:
offset
,
'batch_size'
:
batch_size
,
'routing_key'
:
settings
.
POLICY_CHANGE_GRADES_ROUTING_KEY
,
})
compute_grades_for_course_v2
.
apply_async
(
kwargs
=
kwargs
)
compute_grades_for_course_v2
.
apply_async
(
kwargs
=
kwargs
,
routing_key
=
settings
.
POLICY_CHANGE_GRADES_ROUTING_KEY
)
@task
(
base
=
_BaseTask
,
bind
=
True
,
default_retry_delay
=
30
,
max_retries
=
1
)
...
...
This diff is collapsed.
Click to expand it.
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