judge: 修改tmpfs大小为256MB

This commit is contained in:
undefined committed 2020-11-09 13:33:35 +08:00
1 parent 8c65f89e55
commit 1f4420fbaa
4 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -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();