From ae337a1dd7743b0ee0a05c32a5ce01965c5bafef Mon Sep 17 00:00:00 2001 From: Felipe Lalanne Date: Tue, 11 Mar 2025 18:18:30 -0300 Subject: [PATCH] Remove GOT retries on state poll The state poll already has retry implementation, making the GOT default unnecessary. Change-type: patch --- src/api-binder/poll.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/api-binder/poll.ts b/src/api-binder/poll.ts index e5bccaba..7512ade9 100644 --- a/src/api-binder/poll.ts +++ b/src/api-binder/poll.ts @@ -121,6 +121,7 @@ export const update = async ( const got = await getGotInstance(); const { statusCode, headers, body } = await got(endpoint, { + retry: { limit: 0 }, agent: { https: new Agent({ keepAlive: true,