Skip to content

Commit 5b8a08e

Browse files
didinelevladfrangu
authored andcommitted
fix: retry for EAI_AGAIN I/O error (#10383)
1 parent 22e013b commit 5b8a08e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/ws/src/utils/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,4 @@ export function getInitialSendRateLimitState(): SendRateLimitState {
7676
};
7777
}
7878

79-
export const KnownNetworkErrorCodes = new Set(['ECONNRESET', 'ECONNREFUSED', 'ETIMEDOUT']);
79+
export const KnownNetworkErrorCodes = new Set(['ECONNRESET', 'ECONNREFUSED', 'ETIMEDOUT', 'EAI_AGAIN']);

0 commit comments

Comments
 (0)