mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
cleanup RelayRequests
This commit is contained in:
@@ -484,9 +484,8 @@ namespace transport
|
||||
}
|
||||
}
|
||||
|
||||
void SSUData::CleanUp ()
|
||||
void SSUData::CleanUp (uint64_t ts)
|
||||
{
|
||||
uint32_t ts = i2p::util::GetSecondsSinceEpoch ();
|
||||
for (auto it = m_IncompleteMessages.begin (); it != m_IncompleteMessages.end ();)
|
||||
{
|
||||
if (ts > it->second->lastFragmentInsertTime + INCOMPLETE_MESSAGES_CLEANUP_TIMEOUT)
|
||||
|
||||
Reference in New Issue
Block a user