From f3cbeffde1b10896c7437fabd19f629bafd8851c 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 a04458a2..5cf28e2b 100644 --- a/src/api-binder/poll.ts +++ b/src/api-binder/poll.ts @@ -120,6 +120,7 @@ export const update = async ( const got = await getGotInstance(); const { statusCode, headers, body } = await got(endpoint, { + retry: { limit: 0 }, headers: { Authorization: `Bearer ${deviceApiKey}`, 'If-None-Match': cache?.etag,