Skip to content

Commit

Permalink
fix: 修复Wormhole重连时未传递参数的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
HalcyonAlcedo committed May 19, 2024
1 parent 3245258 commit dec6bc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Renderer/WormholeClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export default function connect (Config) {
}
logger.warn('连接关闭,10秒后尝试重新连接')
if (!reConnect) {
reConnect = setTimeout(connect, 10000)
reConnect = setTimeout(connect, 10000, Config)
}
})

Expand All @@ -153,7 +153,7 @@ export default function connect (Config) {
}
logger.warn('连接错误,10秒后尝试重新连接')
if (!reConnect) {
reConnect = setTimeout(connect, 10000)
reConnect = setTimeout(connect, 10000, Config)
}
})
}

0 comments on commit dec6bc0

Please sign in to comment.