From f80a8e346b709dc927ebb6546af631e2ab8da17c Mon Sep 17 00:00:00 2001 From: David Stevenson Date: Fri, 31 Jul 2026 14:36:39 -0700 Subject: [PATCH] Locket retry interval should use 5s instead of 1s to be less aggressive --- cmd/tps-watcher/main.go | 2 +- cmd/tps-watcher/main_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/tps-watcher/main.go b/cmd/tps-watcher/main.go index e2641585..9debe187 100644 --- a/cmd/tps-watcher/main.go +++ b/cmd/tps-watcher/main.go @@ -127,7 +127,7 @@ func initializeLocketLockMaintainer(logger lager.Logger, watcherConfig config.Wa lockIdentifier, locket.DefaultSessionTTLInSeconds, clock.NewClock(), - locket.SQLRetryInterval, + locket.RetryInterval, ) } diff --git a/cmd/tps-watcher/main_test.go b/cmd/tps-watcher/main_test.go index d80d849f..1720f80e 100644 --- a/cmd/tps-watcher/main_test.go +++ b/cmd/tps-watcher/main_test.go @@ -224,7 +224,7 @@ var _ = Describe("TPS", func() { }) It("grabs the lock and becomes active", func() { - Eventually(runner.Buffer, 5*time.Second).Should(gbytes.Say("tps-watcher.started")) + Eventually(runner.Buffer, 10*time.Second).Should(gbytes.Say("tps-watcher.started")) }) }) })