fix(gateway): add ThrottleInterval to launchd plist to prevent restart loop

This commit is contained in:
Kevin Shenghui
2026-02-26 06:56:19 -08:00
committed by Peter Steinberger
parent ed9cd846d0
commit 16ccd5a874
2 changed files with 3 additions and 2 deletions

View File

@@ -198,7 +198,8 @@ describe("launchd install", () => {
expect(plist).toContain("<key>KeepAlive</key>");
expect(plist).toContain("<true/>");
expect(plist).not.toContain("<key>SuccessfulExit</key>");
expect(plist).not.toContain("<key>ThrottleInterval</key>");
expect(plist).toContain("<key>ThrottleInterval</key>");
expect(plist).toContain("<integer>60</integer>");
});
it("restarts LaunchAgent with bootout-bootstrap-kickstart order", async () => {