diff --git a/lib/Renderer/WormholeClient.js b/lib/Renderer/WormholeClient.js index e754819..ab4da99 100644 --- a/lib/Renderer/WormholeClient.js +++ b/lib/Renderer/WormholeClient.js @@ -140,7 +140,7 @@ export default function connect (Config) { } logger.warn('连接关闭,10秒后尝试重新连接') if (!reConnect) { - reConnect = setTimeout(connect, 10000) + reConnect = setTimeout(connect, 10000, Config) } }) @@ -153,7 +153,7 @@ export default function connect (Config) { } logger.warn('连接错误,10秒后尝试重新连接') if (!reConnect) { - reConnect = setTimeout(connect, 10000) + reConnect = setTimeout(connect, 10000, Config) } }) }