mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
OpenTsdbWriter: Ensure to reset reconnect timer on Pause()
This commit is contained in:
parent
301c48e9bc
commit
24c3572b03
@ -85,8 +85,11 @@ void OpenTsdbWriter::Resume()
|
||||
Service::OnNewCheckResult.connect(std::bind(&OpenTsdbWriter::CheckResultHandler, this, _1, _2));
|
||||
}
|
||||
|
||||
/* Pause is equivalent to Stop, but with HA capabilities to resume at runtime. */
|
||||
void OpenTsdbWriter::Pause()
|
||||
{
|
||||
m_ReconnectTimer.reset();
|
||||
|
||||
Log(LogInformation, "OpentsdbWriter")
|
||||
<< "'" << GetName() << "' paused.";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user