mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-19 07:33:12 +09:00
Fix issues with reconnect and logging out
Fix problems encountered logging out and in while the connection has dropped and is in the process of reconnecting.
This commit is contained in:
1 parent
6458810571
commit
d627c5e094
4 files changed
+17
-10
No files matched your search
@@ -87,6 +87,7 @@ export default async function bootstrap() {
|
||||
wsUrl.protocol = wsUrl.protocol.replace("http", "ws");
|
||||
|
||||
let controlConnector = new ControlConnector(wsUrl, 10);
|
||||
controlConnector.setTimeout(15);
|
||||
let control = new Control(controlConnector, plugins);
|
||||
|
||||
ReactDOM.render(<App control={control} plugins={plugins}/>, document.getElementById("root"));
|
||||
|
||||
Reference in new issue
Block a user