judge: add process limit to setting

This commit is contained in:
undefined committed 2021-09-19 19:29:24 +08:00
1 parent ea427a112a
commit e5a9d6cb0a
5 files changed
+9 -2

No files matched your search

+1 -1
View File
@@ -27,7 +27,7 @@ function proc({
execute = '',
time = 16000,
memory = parseMemoryMB(getConfig('memoryMax')),
process_limit = 32,
process_limit = getConfig('processLimit'),
stdin = '', copyIn = {}, copyOut = [], copyOutCached = [],
} = {}) {
if (!supportOptional) {