11 lines
561 B
SYSTEMD
11 lines
561 B
SYSTEMD
# Managed by the mesh (module build-agent). Replaced on every push; edit the module's settings instead.
|
|
#
|
|
# Everything a build or check starts on this machine runs in this slice (novox/hq issue 1798): the build
|
|
# agent starts every container with --cgroup-parent=mesh-build.slice. The weights only bind while the machine
|
|
# is busy, so an idle machine still builds at full speed; the memory limits are the part that always binds.
|
|
[Slice]
|
|
CPUWeight=${config:cpu-weight}
|
|
IOWeight=${config:io-weight}
|
|
MemoryHigh=${config:memory-high}
|
|
MemoryMax=${config:memory-max}
|