mirror of
https://github.com/filecoin-project/slate.git
synced 2024-11-23 22:12:19 +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", () => {
|
||||
<<<<<<< HEAD
|
||||
console.log(global.websocket);
|
||||
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`);
|
||||
|
Loading…
Reference in New Issue
Block a user