mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-24 04:55:52 +00:00
Ping websocket connections every two minutes.
Detect and close non-responsive connections. UNTESTED
This commit is contained in:
@@ -1386,6 +1386,17 @@ void NetworkOPs::storeProposal(const LedgerProposal::pointer& proposal, const Ri
|
||||
props.push_back(proposal);
|
||||
}
|
||||
|
||||
InfoSub::~InfoSub()
|
||||
{
|
||||
NetworkOPs& ops = theApp->getOPs();
|
||||
ops.unsubTransactions(this);
|
||||
ops.unsubRTTransactions(this);
|
||||
ops.unsubLedger(this);
|
||||
ops.unsubServer(this);
|
||||
ops.unsubAccount(this, mSubAccountInfo, true);
|
||||
ops.unsubAccount(this, mSubAccountInfo, false);
|
||||
}
|
||||
|
||||
#if 0
|
||||
void NetworkOPs::subAccountChanges(InfoSub* ispListener, const uint256 uLedgerHash)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user