From: Michael Friedrich Date: Fri, 22 Feb 2019 08:34:16 +0000 (+0100) Subject: PerfdataWriter: Reset the rotation timer on Pause() X-Git-Tag: v2.11.0-rc1~212^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=53acb8f2db84df7efffd25f3694c55cd66844b70;p=icinga2 PerfdataWriter: Reset the rotation timer on Pause() --- diff --git a/lib/perfdata/perfdatawriter.cpp b/lib/perfdata/perfdatawriter.cpp index 7330f3c98..11d7b5f11 100644 --- a/lib/perfdata/perfdatawriter.cpp +++ b/lib/perfdata/perfdatawriter.cpp @@ -83,6 +83,8 @@ void PerfdataWriter::Resume() void PerfdataWriter::Pause() { + m_RotationTimer.reset(); + #ifdef I2_DEBUG //m_HostOutputFile << "\n# Pause the feature" << "\n\n"; //m_ServiceOutputFile << "\n# Pause the feature" << "\n\n";