-
Notifications
You must be signed in to change notification settings - Fork 4
/
config.toml
47 lines (38 loc) · 823 Bytes
/
config.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
host = "0.0.0.0"
port = 8000
server = "/"
enable_metrics = false
programs_dir = "/programs"
jobs_dir = "/jobs"
program_ttl = 600
prune_programs_interval = 60
max_concurrent_jobs = 16
base_resource_usage_runs = 20
base_resource_usage_permits = 16
base_resource_usage_cache_ttl = 3600 # seconds
use_cgroup = true
# nsjail_path = ...
# time_path = ...
environments_path = ["pkgs/share/sandkasten/packages"]
[compile_limits]
cpus = 1
time = 30 # seconds
memory = 1024 # mb
tmpfs = 256 # mb
filesize = 16 # mb
file_descriptors = 256
processes = 256
stdout_max_size = 65536
stderr_max_size = 65536
network = false
[run_limits]
cpus = 1
time = 5 # seconds
memory = 256 # mb
tmpfs = 256 # mb
filesize = 16 # mb
file_descriptors = 256
processes = 64
stdout_max_size = 65536
stderr_max_size = 65536
network = false