Skip to content
This repository was archived by the owner on Mar 26, 2026. It is now read-only.

Commit 5ee6f19

Browse files
authored
fix: Always set the retry attempt to 0 for now (#1251)
* Always set the retry attempt to 0 for now If the retry attempt is greater than 1 then a library called retryRequest creates a large delay. If we force the retry count to be 0 then we skip this delay and the requests run in the required timeline. * fix: Always set the retry attempt to 0 for now
1 parent 52c06a2 commit 5ee6f19

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/table.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -776,7 +776,7 @@ Please use the format 'prezzy' or '${instance.name}/tables/prezzy'.`);
776776
} as google.bigtable.v2.IReadRowsRequest;
777777

778778
const retryOpts = {
779-
currentRetryAttempt: numConsecutiveErrors,
779+
currentRetryAttempt: 0, // was numConsecutiveErrors
780780
// Handling retries in this client. Specify the retry options to
781781
// make sure nothing is retried in retry-request.
782782
noResponseRetries: 0,

0 commit comments

Comments
 (0)