Commit 6919fc8c by Alex Dusenbery Committed by Alex Dusenbery

Use kwargs right.

parent 1d04f60b
......@@ -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)
......
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