From 1f5d4b8eb1501eafb508c1ae27f618c4effba6d9 Mon Sep 17 00:00:00 2001 From: Thomas Hobson Date: Sun, 21 Feb 2021 21:37:13 +1300 Subject: [PATCH] api: config options --- api/src/config.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/api/src/config.js b/api/src/config.js index a2503bf..e541ce9 100644 --- a/api/src/config.js +++ b/api/src/config.js @@ -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: [] } ];