retry after bad network conn
这个提交包含在:
父节点
b9fae99ddc
当前提交
82763460ef
@ -484,6 +484,11 @@ function _connect(state) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
, onError: function (err) {
|
, onError: function (err) {
|
||||||
|
if ('ENOTFOUND' === err.code) {
|
||||||
|
// DNS issue, probably network is disconnected
|
||||||
|
timeoutId = setTimeout(connect, 90 * 1000);
|
||||||
|
return;
|
||||||
|
}
|
||||||
console.error("[tunnel error] " + err.message);
|
console.error("[tunnel error] " + err.message);
|
||||||
console.error(err);
|
console.error(err);
|
||||||
if (connCallback) {
|
if (connCallback) {
|
||||||
|
正在加载...
x
在新工单中引用
屏蔽一个用户