Bug fix
- Fixed: prev_node still retained sometimes even when no other nodes are online
This commit is contained in:
parent
928739ce61
commit
0bff57c28b
@ -265,6 +265,9 @@ function reconnectNextNode() {
|
||||
.catch(error => {
|
||||
//Case: No other node is online
|
||||
console.info(error);
|
||||
//close prev node connection if inactive
|
||||
if(_prevNode.id)
|
||||
_prevNode.close();
|
||||
//Serve all nodes
|
||||
for (let sn in floGlobals.supernodes)
|
||||
DB.createTable(sn)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user