mirror of
https://github.com/greatest-ape/aquatic.git
synced 2026-10-22 17:31:15 +00:00
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:
1 parent
a9f9b59086
commit
3d35bd9bd4
2 files changed
+4
-4
No files matched your search
@@ -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,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user