aquatic http and ws: raise default max peer and connection age

There was a problem with aquatic_http with clients announcing
less often than requested interval and getting purged, making
file transfers less reliable
This commit is contained in:
Joakim Frostegård committed 2020-08-16 23:24:29 +02:00
1 parent a9f9b59086
commit 3d35bd9bd4
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -165,8 +165,8 @@ impl Default for CleaningConfig {
fn default() -> Self {
Self {
interval: 30,
max_peer_age: 180,
max_connection_age: 180,
max_peer_age: 1800,
max_connection_age: 1800,
}
}
}
+2 -2
View File
@@ -161,8 +161,8 @@ impl Default for CleaningConfig {
fn default() -> Self {
Self {
interval: 30,
max_peer_age: 180,
max_connection_age: 180,
max_peer_age: 1800,
max_connection_age: 1800,
}
}
}