mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
core: 评测队列优先级系统
This commit is contained in:
1 parent
5bdd77ca28
commit
1eb3e0797f
5 files changed
+9
-8
No files matched your search
@@ -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();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user