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

+2 -2
View File
@@ -99,7 +99,7 @@ class RecordDetailHandler extends RecordHandler {
const rdoc = await record.get(domainId, rid);
if (rdoc) {
await record.reset(domainId, rid, true);
await record.judge(domainId, rid);
await record.judge(domainId, rid, 0);
}
this.back();
}
@@ -165,7 +165,7 @@ class RecordRejudgeHandler extends Handler {
const rdoc = await record.get(domainId, rid);
if (rdoc) {
await record.reset(domainId, rid, true);
await record.judge(domainId, rid);
await record.judge(domainId, rid, 0);
}
this.back();
}