mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-21 01:46:28 +08:00
judge: 修改tmpfs大小为256MB
This commit is contained in:
1 parent
8c65f89e55
commit
1f4420fbaa
4 files changed
+4
-4
No files matched your search
@@ -74,7 +74,7 @@ class JudgeTask {
|
||||
this.tmpdir = path.resolve(TEMP_DIR, 'tmp', this.host, this.rid);
|
||||
this.clean = [];
|
||||
fs.ensureDirSync(this.tmpdir);
|
||||
tmpfs.mount(this.tmpdir, '64m');
|
||||
tmpfs.mount(this.tmpdir, '256m');
|
||||
log.info('Submission: %s/%s/%s pid=%s', this.host, this.domain_id, this.rid, this.pid);
|
||||
try {
|
||||
if (this.type === 0) await this.doSubmission();
|
||||
|
||||
Reference in new issue
Block a user