Skip to content

Commit dd80892

Browse files
committed
Hanlde EBUSY error from DNS resolver
glibc's nscd is known to return it from time to time. Closes #128
1 parent 8d7ca0d commit dd80892

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

strategies/NetworkError.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict';
22

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

66
/**

0 commit comments

Comments
 (0)