Skip to content

Commit 2b6331a

Browse files
committed
EDP default configuration should be in milliseconds, not microseconds.
Signed-off-by: Tomoya Fujita <[email protected]>
1 parent 8d1976b commit 2b6331a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/cpp/rtps/builtin/discovery/endpoint/EDPSimple.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ namespace rtps {
5656

5757
// Default configuration values for EDP entities.
5858
static const dds::Duration_t edp_heartbeat_period{1, 0}; // 1 second
59-
static const dds::Duration_t edp_nack_response_delay{0, 100 * 1000 }; // 100 milliseconds
60-
static const dds::Duration_t edp_nack_supression_duration{0, 10 * 1000}; // 10 milliseconds
61-
static const dds::Duration_t edp_heartbeat_response_delay{0, 10 * 1000}; // 10 milliseconds
59+
static const dds::Duration_t edp_nack_response_delay{0, 100 * 1000000 }; // 100 milliseconds
60+
static const dds::Duration_t edp_nack_supression_duration{0, 10 * 1000000}; // 10 milliseconds
61+
static const dds::Duration_t edp_heartbeat_response_delay{0, 10 * 1000000}; // 10 milliseconds
6262

6363
static const int32_t edp_reader_initial_reserved_caches = 1;
6464
static const int32_t edp_writer_initial_reserved_caches = 20;

0 commit comments

Comments
 (0)