mirror of https://github.com/Icinga/icinga2.git
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…
Reference in New Issue