From 8e2601af5d4314eb8429f399b1c13cc3a20b8815 Mon Sep 17 00:00:00 2001
From: Eric Cano <Eric.Cano@cern.ch>
Date: Tue, 21 May 2019 15:14:55 +0200
Subject: [PATCH] Fixed heart beat being the same length as the garbage
 collection timeout.

This bug was introduced earlier this year. It led to spurious garbage collections in stress tests.
---
 objectstore/AgentHeartbeatThread.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/objectstore/AgentHeartbeatThread.hpp b/objectstore/AgentHeartbeatThread.hpp
index addbd5e98f..4b08fbabc0 100644
--- a/objectstore/AgentHeartbeatThread.hpp
+++ b/objectstore/AgentHeartbeatThread.hpp
@@ -64,7 +64,7 @@ private:
   std::promise<void> m_exit;
   
   /// The heartbeat update rate.
-  std::chrono::seconds const m_heartRate = std::chrono::seconds(60);
+  std::chrono::seconds const m_heartRate = std::chrono::seconds(30);
   
   /// The logging context
   log::Logger & m_logger;
-- 
GitLab