diff --git a/DEFAULT_CONFIG.json5 b/DEFAULT_CONFIG.json5 index 1af50b7c2d..a2731b9525 100644 --- a/DEFAULT_CONFIG.json5 +++ b/DEFAULT_CONFIG.json5 @@ -336,7 +336,7 @@ /// Configure internal transport parameters transport: { unicast: { - /// Timeout in milliseconds when accepting a link + /// Timeout in milliseconds when opening a link open_timeout: 10000, /// Timeout in milliseconds when accepting a link accept_timeout: 10000, diff --git a/commons/zenoh-config/src/lib.rs b/commons/zenoh-config/src/lib.rs index 27ce06f653..30bd9a7c81 100644 --- a/commons/zenoh-config/src/lib.rs +++ b/commons/zenoh-config/src/lib.rs @@ -375,7 +375,7 @@ validated_struct::validator! { pub unicast: TransportUnicastConf { /// Timeout in milliseconds when opening a link (default: 10000). open_timeout: u64, - /// Timeout in milliseconds when opening a link (default: 10000). + /// Timeout in milliseconds when accepting a link (default: 10000). accept_timeout: u64, /// Number of links that may stay pending during accept phase (default: 100). accept_pending: usize,