From ad5f96b190c0598134f28d8d25aeb997ce2a42e0 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Fri, 6 Sep 2013 14:53:21 +0200 Subject: [PATCH] cluster: Rotate the log more frequently. --- components/cluster/clustercomponent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/cluster/clustercomponent.cpp b/components/cluster/clustercomponent.cpp index ebc18124d..96dbbce8f 100644 --- a/components/cluster/clustercomponent.cpp +++ b/components/cluster/clustercomponent.cpp @@ -230,7 +230,7 @@ void ClusterComponent::RelayMessage(const Endpoint::Ptr& except, const Dictionar m_LogMessageCount++; m_LogMessageTimestamp = ts; - if (m_LogMessageCount > 250000) { + if (m_LogMessageCount > 50000) { CloseLogFile(); RotateLogFile(); OpenLogFile(); -- 2.40.0