Skip to content

Commit

Permalink
fix(service-error-classification): add ECONNREFUSED to list of retrya…
Browse files Browse the repository at this point in the history
…ble errors (#4693)

Co-authored-by: Trivikram Kamat <16024985+trivikr@users.noreply.github.com>
  • Loading branch information
RanVaknin and trivikr authored May 3, 2023
1 parent f08a7b1 commit d305472
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/service-error-classification/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ export const TRANSIENT_ERROR_STATUS_CODES = [500, 502, 503, 504];
/**
* Node.js system error codes that indicate timeout.
*/
export const NODEJS_TIMEOUT_ERROR_CODES = ["ECONNRESET", "EPIPE", "ETIMEDOUT"];
export const NODEJS_TIMEOUT_ERROR_CODES = ["ECONNRESET", "ECONNREFUSED", "EPIPE", "ETIMEDOUT"];

0 comments on commit d305472

Please sign in to comment.