From d6fc34125fb8542024f34a5e4fd2e0cd94d4a530 Mon Sep 17 00:00:00 2001 From: Tomoya Fujita Date: Mon, 6 Jan 2025 19:44:55 -0800 Subject: [PATCH] EDP default configuration should be in milliseconds, not microseconds. Signed-off-by: Tomoya Fujita --- src/cpp/rtps/builtin/discovery/endpoint/EDPSimple.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cpp/rtps/builtin/discovery/endpoint/EDPSimple.cpp b/src/cpp/rtps/builtin/discovery/endpoint/EDPSimple.cpp index 3cd6fff53e3..2aaf642c479 100644 --- a/src/cpp/rtps/builtin/discovery/endpoint/EDPSimple.cpp +++ b/src/cpp/rtps/builtin/discovery/endpoint/EDPSimple.cpp @@ -56,9 +56,9 @@ namespace rtps { // Default configuration values for EDP entities. static const dds::Duration_t edp_heartbeat_period{1, 0}; // 1 second -static const dds::Duration_t edp_nack_response_delay{0, 100 * 1000 }; // 100 milliseconds -static const dds::Duration_t edp_nack_supression_duration{0, 10 * 1000}; // 10 milliseconds -static const dds::Duration_t edp_heartbeat_response_delay{0, 10 * 1000}; // 10 milliseconds +static const dds::Duration_t edp_nack_response_delay{0, 100 * 1000 * 1000 }; // 100 milliseconds +static const dds::Duration_t edp_nack_supression_duration{0, 10 * 1000 * 1000}; // 10 milliseconds +static const dds::Duration_t edp_heartbeat_response_delay{0, 10 * 1000 * 1000}; // 10 milliseconds static const int32_t edp_reader_initial_reserved_caches = 1; static const int32_t edp_writer_initial_reserved_caches = 20;