Skip to content

Commit

Permalink
Hanlde EBUSY error from DNS resolver
Browse files Browse the repository at this point in the history
glibc's nscd is known to return it from time to time.

Closes #128
  • Loading branch information
misha-ridge committed Feb 13, 2021
1 parent 8d7ca0d commit dd80892
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion strategies/NetworkError.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

var RETRIABLE_ERRORS = ['ECONNRESET', 'ENOTFOUND', 'ESOCKETTIMEDOUT', 'ETIMEDOUT', 'ECONNREFUSED', 'EHOSTUNREACH', 'EPIPE', 'EAI_AGAIN'];
var RETRIABLE_ERRORS = ['ECONNRESET', 'ENOTFOUND', 'ESOCKETTIMEDOUT', 'ETIMEDOUT', 'ECONNREFUSED', 'EHOSTUNREACH', 'EPIPE', 'EAI_AGAIN', 'EBUSY'];
var _ = require('lodash');

/**
Expand Down

0 comments on commit dd80892

Please sign in to comment.