move program certificates tasks to background_process queue

This commit is contained in:
nadeemshahzad
2019-01-23 14:13:33 +00:00
parent da42499320
commit 97dd3763d3
4 changed files with 10 additions and 1 deletions

View File

@@ -101,7 +101,7 @@ def award_program_certificate(client, username, program_uuid, visible_date):
})
@task(bind=True, ignore_result=True, routing_key=ROUTING_KEY)
@task(bind=True, ignore_result=True, routing_key=settings.PROGRAM_CERTIFICATES_ROUTING_KEY)
def award_program_certificates(self, username):
"""
This task is designed to be called whenever a student's completion status