From c03afd373fc00afff022e8afa19158123e1604dd Mon Sep 17 00:00:00 2001 From: David Stevenson Date: Fri, 31 Jul 2026 14:23:38 -0700 Subject: [PATCH] Use the provided (default 5s) locket retry interval over the hardcoded 1s interval We need to avoid sending 15 requests in a row to locket and only waiting 1s each time in the event that the locket server is bogged down. --- cmd/routing-api/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/routing-api/main.go b/cmd/routing-api/main.go index f6236b9c..62b9108a 100644 --- a/cmd/routing-api/main.go +++ b/cmd/routing-api/main.go @@ -135,7 +135,7 @@ func main() { lockIdentifier, locket.DefaultSessionTTLInSeconds, clock, - locket.SQLRetryInterval, + cfg.RetryInterval, )}) if len(locks) == 0 {