mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 09: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
@@ -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();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user