LRU-based parallel channel storage

This commit is contained in:
Jack Kingsman
2026-03-12 16:45:36 -07:00
parent 5c85a432c8
commit 87ea2b4675
9 changed files with 282 additions and 17 deletions
+2
View File
@@ -478,6 +478,7 @@ class TestManualDisconnectCleanup:
rm.max_channels = 8
rm.path_hash_mode = 2
rm.path_hash_mode_supported = True
rm.note_channel_slot_loaded("AA" * 16, 0)
await rm.disconnect()
@@ -490,6 +491,7 @@ class TestManualDisconnectCleanup:
assert rm.max_channels == 40
assert rm.path_hash_mode == 0
assert rm.path_hash_mode_supported is False
assert rm.get_cached_channel_slot("AA" * 16) is None
@pytest.mark.asyncio
async def test_pause_connection_marks_connection_undesired(self):