mirror of
https://github.com/engineer-man/piston.git
synced 2025-05-01 17:36:28 +02:00
api: add rlimits to config
This commit is contained in:
parent
e31e66aad5
commit
920e6e7054
2 changed files with 17 additions and 1 deletions
|
@ -107,6 +107,18 @@ const options = [
|
|||
desc: 'Max size of each stdio buffer',
|
||||
default: 1024,
|
||||
validators: []
|
||||
},
|
||||
{
|
||||
key: 'max_process_count',
|
||||
desc: 'Max number of processes per job',
|
||||
default: 64,
|
||||
validators: []
|
||||
},
|
||||
{
|
||||
key: 'max_open_files',
|
||||
desc: 'Max number of open files per job',
|
||||
default: 2048,
|
||||
validators: []
|
||||
}
|
||||
];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue