This is an automated email from the ASF dual-hosted git repository.
moleske pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode-native.git
The following commit(s) were added to refs/heads/develop by this push:
new 55da853 GEODE-7426: Fixes segfault in log message. (#545)
55da853 is described below
commit 55da853760c200c53568fe2e6549c912ec26cc27
Author: Jacob Barrett <[email protected]>
AuthorDate: Fri Nov 8 11:31:47 2019 -0800
GEODE-7426: Fixes segfault in log message. (#545)
---
cppcache/src/ThinClientPoolDM.cpp | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/cppcache/src/ThinClientPoolDM.cpp
b/cppcache/src/ThinClientPoolDM.cpp
index c9b9475..67eb9b3 100644
--- a/cppcache/src/ThinClientPoolDM.cpp
+++ b/cppcache/src/ThinClientPoolDM.cpp
@@ -493,9 +493,8 @@ void
ThinClientPoolDM::cleanStaleConnections(std::atomic<bool>& isRunning) {
m_connManageTaskId, _nextIdle)) {
LOGERROR("Failed to reschedule connection manager");
} else {
- LOGFINEST(
- "Rescheduled next connection manager run after %z seconds",
- std::chrono::duration_cast<std::chrono::seconds>(_nextIdle).count());
+ LOGFINEST("Rescheduled next connection manager run after %s",
+ to_string(_nextIdle).c_str());
}
LOGDEBUG("Pool size is %d, pool counter is %d", size(), m_poolSize.load());