mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core&ui: pretest support for remote_judge
This commit is contained in:
1 parent
3762bb31f5
commit
af994325b5
7 files changed
+16
-7
No files matched your search
@@ -75,7 +75,7 @@ class RecordModel {
|
||||
source = `${pdoc.domainId}/${pdoc.docId}`;
|
||||
data = pdoc.data;
|
||||
if (typeof pdoc.config === 'string') throw new Error(pdoc.config);
|
||||
if (pdoc.config.type === 'remote_judge') {
|
||||
if (pdoc.config.type === 'remote_judge' && rdoc.contest.toHexString() !== '0'.repeat(24)) {
|
||||
return await task.add({
|
||||
...omit(rdoc, ['_id']),
|
||||
priority,
|
||||
|
||||
Reference in new issue
Block a user