remove celery and use dramatiq
This commit is contained in:
@@ -80,7 +80,7 @@ class SubmissionAPI(APIView):
|
||||
contest_id=data.get("contest_id"))
|
||||
# use this for debug
|
||||
# JudgeDispatcher(submission.id, problem.id).judge()
|
||||
judge_task.delay(submission.id, problem.id)
|
||||
judge_task.send(submission.id, problem.id)
|
||||
if hide_id:
|
||||
return self.success()
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user