You've already forked lidgren-network-gen3
mirror of
https://github.com/lidgren/lidgren-network-gen3.git
synced 2026-05-16 07:06:30 +09:00
Message/storage recycling capped to NetConfiguration.RecycledCacheMaxCount number of arrays/messages
This commit is contained in:
@@ -157,7 +157,8 @@ namespace Lidgren.Network
|
||||
bdr.AppendLine("Received (n/a) bytes in (n/a) messages in (n/a) packets");
|
||||
#endif
|
||||
bdr.AppendLine("Storage allocated " + m_bytesAllocated + " bytes");
|
||||
bdr.AppendLine("Recycled pool " + m_peer.m_storagePoolBytes + " bytes");
|
||||
if (m_peer.m_storagePool != null)
|
||||
bdr.AppendLine("Recycled pool " + m_peer.m_storagePoolBytes + " bytes (" + m_peer.m_storageSlotsUsedCount + " entries)");
|
||||
return bdr.ToString();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user