mirror of
https://github.com/engineer-man/piston.git
synced 2025-05-01 17:36:28 +02:00
api: config options
This commit is contained in:
parent
514006058b
commit
1f5d4b8eb1
1 changed files with 12 additions and 0 deletions
|
@ -95,6 +95,18 @@ const options = [
|
|||
desc: 'Maximum gid to use for runner',
|
||||
default: 1500,
|
||||
validators: []
|
||||
},
|
||||
{
|
||||
key: 'enable_unshare',
|
||||
desc: 'Enable using unshare to disable networking',
|
||||
default: true,
|
||||
validators: []
|
||||
},
|
||||
{
|
||||
key: 'output_max_size',
|
||||
desc: 'Max size of each stdio buffer',
|
||||
default: 1024,
|
||||
validators: []
|
||||
}
|
||||
];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue