fix hive-ci RestartSec eval conflict with lib.mkForce (#2535)
This commit is contained in:
parent
fcca929fde
commit
12d607fe5d
1 changed files with 4 additions and 1 deletions
|
|
@ -389,7 +389,10 @@ in
|
|||
# no start-limit rate cap so it keeps retrying however long forge /
|
||||
# the core token take to settle.
|
||||
serviceConfig.Restart = lib.mkForce "on-failure";
|
||||
serviceConfig.RestartSec = 15;
|
||||
# `mkForce`: the upstream gitea-actions-runner module also sets
|
||||
# RestartSec (2), so ours needs the higher priority or the two
|
||||
# collide into an eval error — same as the sibling `Restart`.
|
||||
serviceConfig.RestartSec = lib.mkForce 15;
|
||||
startLimitIntervalSec = 0;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue