api: config options

This commit is contained in:
Thomas Hobson 2021-02-21 21:37:13 +13:00
parent 514006058b
commit 1f5d4b8eb1
No known key found for this signature in database
GPG Key ID: 9F1FD9D87950DB6F
1 changed files with 12 additions and 0 deletions

View File

@ -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: []
}
];