Session persistence rewritten completely

This commit is contained in:
Igor Katson 2024-08-15 10:40:48 +01:00
parent c4fc107c4e
commit 83592ca866
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5
12 changed files with 431 additions and 299 deletions

View file

@ -28,7 +28,7 @@ async fn e2e_stream() -> anyhow::Result<()> {
crate::SessionOptions {
disable_dht: true,
peer_id: Some(TestPeerMetadata::good().as_peer_id()),
persistence: false,
persistence: None,
listen_port_range: Some(16001..16100),
enable_upnp_port_forwarding: false,
..Default::default()
@ -72,7 +72,7 @@ async fn e2e_stream() -> anyhow::Result<()> {
client_dir.path().into(),
crate::SessionOptions {
disable_dht: true,
persistence: false,
persistence: None,
peer_id: Some(TestPeerMetadata::good().as_peer_id()),
listen_port_range: None,
enable_upnp_port_forwarding: false,