mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +01:00
Revert "Only run DisconnectNodes once per second"
This reverts commit 30e4afae00
.
This commit is contained in:
parent
e51580f052
commit
d6b69dbf69
@ -1872,9 +1872,9 @@ void CConnman::ThreadSocketHandler()
|
||||
ForEachNode(AllNodes, [&](CNode* pnode) {
|
||||
InactivityCheck(pnode);
|
||||
});
|
||||
DisconnectNodes();
|
||||
nLastCleanupNodes = GetTimeMillis();
|
||||
}
|
||||
DisconnectNodes();
|
||||
NotifyNumConnectionsChanged();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user