$XAPI handles EHOSTUNREACH errors.
This commit is contained in:
parent
a3a87f54df
commit
280b3275b4
@ -69,6 +69,7 @@ class $XAPI
|
|||||||
# least once to know who is the new pool master.
|
# least once to know who is the new pool master.
|
||||||
when 'ECONNRESET', \
|
when 'ECONNRESET', \
|
||||||
'ECONNREFUSED', \
|
'ECONNREFUSED', \
|
||||||
|
'EHOSTUNREACH', \
|
||||||
'HOST_STILL_BOOTING', \
|
'HOST_STILL_BOOTING', \
|
||||||
'HOST_HAS_NO_MANAGEMENT_IP'
|
'HOST_HAS_NO_MANAGEMENT_IP'
|
||||||
# Node.js seems to reuse the broken socket, so we add a small
|
# Node.js seems to reuse the broken socket, so we add a small
|
||||||
|
Loading…
Reference in New Issue
Block a user