-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
9 additions
and
8 deletions.
There are no files selected for viewing
17 changes: 9 additions & 8 deletions
17
Patches/RtpsDiscoveryConfig.patch → Patches/Format_FractionalSeconds.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,32 @@ | ||
From 476821173b736c5d3c99f87f92e78979389229e8 Mon Sep 17 00:00:00 2001 | ||
From a9f90c6bb57372210b7ccc1d7672ffe85b729f7a Mon Sep 17 00:00:00 2001 | ||
From: jose_morato <[email protected]> | ||
Date: Thu, 27 Jun 2024 15:51:29 +0200 | ||
Subject: [PATCH] [fix] RtpsDiscoveryConfig RESEND_PERIOD | ||
Date: Thu, 27 Jun 2024 17:42:33 +0200 | ||
Subject: [PATCH] Use Format_FractionalSeconds instead of | ||
Format_IntegerMilliseconds | ||
|
||
--- | ||
dds/DCPS/RTPS/RtpsDiscoveryConfig.cpp | 4 ++-- | ||
1 file changed, 2 insertions(+), 2 deletions(-) | ||
|
||
diff --git a/dds/DCPS/RTPS/RtpsDiscoveryConfig.cpp b/dds/DCPS/RTPS/RtpsDiscoveryConfig.cpp | ||
index cb31a6e9b4..2d9f9e25dc 100644 | ||
index 2d9f9e25dc..b3b142ff23 100644 | ||
--- a/dds/DCPS/RTPS/RtpsDiscoveryConfig.cpp | ||
+++ b/dds/DCPS/RTPS/RtpsDiscoveryConfig.cpp | ||
@@ -32,7 +32,7 @@ RtpsDiscoveryConfig::resend_period() const | ||
// see RTPS v2.1 9.6.1.4.2 | ||
return TheServiceParticipant->config_store()->get(config_key("RESEND_PERIOD").c_str(), | ||
TimeDuration(30 /*seconds*/), | ||
- DCPS::ConfigStoreImpl::Format_IntegerSeconds); | ||
- DCPS::ConfigStoreImpl::Format_IntegerMilliseconds); | ||
+ DCPS::ConfigStoreImpl::Format_FractionalSeconds); | ||
} | ||
|
||
void | ||
@@ -40,7 +40,7 @@ RtpsDiscoveryConfig::resend_period(const DCPS::TimeDuration& period) | ||
{ | ||
TheServiceParticipant->config_store()->set(config_key("RESEND_PERIOD").c_str(), | ||
period, | ||
- DCPS::ConfigStoreImpl::Format_IntegerSeconds); | ||
- DCPS::ConfigStoreImpl::Format_IntegerMilliseconds); | ||
+ DCPS::ConfigStoreImpl::Format_FractionalSeconds); | ||
} | ||
|
||
double |