core: 评测队列优先级系统

This commit is contained in:
undefined committed 2020-11-10 00:06:54 +08:00
1 parent 5bdd77ca28
commit 1eb3e0797f
5 files changed
+9 -8

No files matched your search

+1 -1
View File
@@ -230,7 +230,7 @@ export class ProblemDetailHandler extends ProblemHandler {
// TODO maybe async?
await record.getMulti(domainId, { pid }).forEach(async (doc) => {
await record.reset(domainId, doc._id, true);
await record.judge(domainId, doc._id);
await record.judge(domainId, doc._id, -1);
});
this.back();
}