aquatic_udp: update configuration documentation

This commit is contained in:
Joakim Frostegård 2021-10-18 02:46:45 +02:00
parent 7187190cec
commit 253497bb74

View file

@ -84,7 +84,7 @@ pub struct StatisticsConfig {
#[derive(Clone, Debug, Serialize, Deserialize)] #[derive(Clone, Debug, Serialize, Deserialize)]
#[serde(default)] #[serde(default)]
pub struct CleaningConfig { pub struct CleaningConfig {
/// Clean torrents and connections this often (seconds) /// Update access list and clean torrents this often (seconds)
pub interval: u64, pub interval: u64,
/// Remove peers that haven't announced for this long (seconds) /// Remove peers that haven't announced for this long (seconds)
pub max_peer_age: u64, pub max_peer_age: u64,