From 1083bd711726be34fc35ddc117aee652be225db1 Mon Sep 17 00:00:00 2001 From: Jacob Hoffman-Andrews Date: Fri, 30 May 2025 15:26:25 -0700 Subject: [PATCH] jsonclient: reduce backoff multiplier on success --- jsonclient/client.go | 1 + 1 file changed, 1 insertion(+) diff --git a/jsonclient/client.go b/jsonclient/client.go index edb8f919af..a60caf856f 100644 --- a/jsonclient/client.go +++ b/jsonclient/client.go @@ -301,6 +301,7 @@ func (c *JSONClient) PostAndParseWithRetry(ctx context.Context, path string, req } else { switch httpRsp.StatusCode { case http.StatusOK: + c.backoff.decreaseMultiplier() return httpRsp, body, nil case http.StatusRequestTimeout: // Request timeout, retry immediately