From 3427eab0b1fe2e0a680c1666641bfbe3b251bb88 Mon Sep 17 00:00:00 2001 From: Luca Cominardi Date: Thu, 12 Dec 2024 10:43:50 +0100 Subject: [PATCH] Update config docs --- DEFAULT_CONFIG.json5 | 2 +- commons/zenoh-config/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DEFAULT_CONFIG.json5 b/DEFAULT_CONFIG.json5 index 1af50b7c2..a2731b952 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 27ce06f65..30bd9a7c8 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,