Browse Source

Fix priority in frontend.

master
t123yh 7 years ago
parent
commit
848a2b1b62
  1. 2
      src/frontend-syzoj/rmq.ts

2
src/frontend-syzoj/rmq.ts

@ -35,7 +35,7 @@ async function newChannel(): Promise<amqp.Channel> {
export function pushTask(task: any) { export function pushTask(task: any) {
publicChannel.sendToQueue(rmqCommon.judgeQueueName, msgpack.encode(task), { publicChannel.sendToQueue(rmqCommon.judgeQueueName, msgpack.encode(task), {
priority: task.priority priority: task.content.priority
}); });
} }

Loading…
Cancel
Save