Watch
0
0
Fork
You've already forked hyperhive
0

keep service containers' boot-wait budgets under their start limit, and check it

This commit is contained in:
atlas 2026-11-02 01:07:26 +01:00 • committed by mara
commit 70b112058a

View file

@ -1076,7 +1076,9 @@ in
RemainAfterExit = true;
ExecStart = "${deployCfg.matrix.ctlPackage}/bin/swarm-matrix-ctl appservice render";
# A sealed store answers on the port and never answers the read.
TimeoutStartSec = 60;
# The render and the sync run one after the other in the
# container's boot wait, whose start limit is a minute.
TimeoutStartSec = 20;
RuntimeDirectory = swarmAppserviceRuntimeName;
RuntimeDirectoryMode = "0700";
RuntimeDirectoryPreserve = "yes";
@ -1110,7 +1112,7 @@ in
serviceConfig = storeRetry.serviceConfig // {
Type = "oneshot";
ExecStart = "${deployCfg.matrix.ctlPackage}/bin/swarm-matrix-ctl appservice sync";
TimeoutStartSec = 60;
TimeoutStartSec = 20;
RuntimeDirectory = swarmAppserviceRuntimeName;
RuntimeDirectoryMode = "0700";
RuntimeDirectoryPreserve = "yes";