mirror of
https://github.com/filecoin-project/slate.git
synced 2024-11-10 13:14:04 +03:00
fixed slate updating upon upload issue
This commit is contained in:
parent
2c33ef195f
commit
0446954674
@ -34,8 +34,17 @@ export const create = () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
ws.on("close", () => {
|
ws.on("close", () => {
|
||||||
|
<<<<<<< HEAD
|
||||||
console.log(global.websocket);
|
console.log(global.websocket);
|
||||||
console.log("Websocket disconnected");
|
console.log("Websocket disconnected");
|
||||||
|
=======
|
||||||
|
global.websocket = null;
|
||||||
|
setTimeout(() => {
|
||||||
|
NodeLogging.log(`Auto reconnecting websocket`);
|
||||||
|
create();
|
||||||
|
}, 1000);
|
||||||
|
NodeLogging.log(`Websocket disconnected`);
|
||||||
|
>>>>>>> fixed slate updating upon upload issue
|
||||||
});
|
});
|
||||||
|
|
||||||
NodeLogging.log(`Websocket server started`);
|
NodeLogging.log(`Websocket server started`);
|
||||||
|
Loading…
Reference in New Issue
Block a user