mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
fix: retry for EAI_AGAIN I/O error (#10383)
This commit is contained in:
@@ -76,4 +76,4 @@ export function getInitialSendRateLimitState(): SendRateLimitState {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
export const KnownNetworkErrorCodes = new Set(['ECONNRESET', 'ECONNREFUSED', 'ETIMEDOUT']);
|
export const KnownNetworkErrorCodes = new Set(['ECONNRESET', 'ECONNREFUSED', 'ETIMEDOUT', 'EAI_AGAIN']);
|
||||||
|
|||||||
Reference in New Issue
Block a user