Skip to content

Commit 14faffd

Browse files
committed
Reduce metadata server auto restart time to 6 hrs
1 parent 466e092 commit 14faffd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

roles/metadata.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ in {
4242
# Not yet available as an attribute for the Unit section in nixpkgs 20.09
4343
StartLimitBurst = 3;
4444

45-
# Restart every 12 hours until a memory leak is addressed
46-
RuntimeMaxSec = 12 * 3600;
45+
# Restart every 6 hours until a memory leak is addressed
46+
RuntimeMaxSec = 6 * 3600;
4747
};
4848
systemd.services.metadata-webhook.serviceConfig = {
4949
Restart = "always";

0 commit comments

Comments
 (0)