mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +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:
parent
a9f9b59086
commit
3d35bd9bd4
2 changed files with 4 additions and 4 deletions
|
|
@ -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,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue