fix(gateway): add ThrottleInterval to launchd plist to prevent restart loop
This commit is contained in:
committed by
Peter Steinberger
parent
ed9cd846d0
commit
16ccd5a874
@@ -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 () => {
|
||||
|
||||
Reference in New Issue
Block a user