diff --git a/src/frontend-syzoj/rmq.ts b/src/frontend-syzoj/rmq.ts index eef626d..5dcc4fa 100644 --- a/src/frontend-syzoj/rmq.ts +++ b/src/frontend-syzoj/rmq.ts @@ -35,7 +35,7 @@ async function newChannel(): Promise { export function pushTask(task: any) { publicChannel.sendToQueue(rmqCommon.judgeQueueName, msgpack.encode(task), { - priority: task.priority + priority: task.content.priority }); }