mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 21:55:03 +02:00
Revert "InfluxdbWriter#Stop(): flush buffer"
This reverts commit 8470facfe2d8437d5db75e4f84434991d30032c7.
This commit is contained in:
parent
5da1cbd096
commit
7b2b45b503
@ -140,14 +140,6 @@ void InfluxdbWriter::Pause()
|
||||
ObjectImpl<InfluxdbWriter>::Pause();
|
||||
}
|
||||
|
||||
void InfluxdbWriter::Stop(bool runtimeDeleted)
|
||||
{
|
||||
FlushTimeout();
|
||||
m_WorkQueue.Join();
|
||||
|
||||
ObjectImpl<InfluxdbWriter>::Stop(runtimeDeleted);
|
||||
}
|
||||
|
||||
void InfluxdbWriter::AssertOnWorkQueue()
|
||||
{
|
||||
ASSERT(m_WorkQueue.IsWorkerThread());
|
||||
|
@ -51,7 +51,6 @@ protected:
|
||||
void OnConfigLoaded() override;
|
||||
void Resume() override;
|
||||
void Pause() override;
|
||||
void Stop(bool runtimeDeleted) override;
|
||||
|
||||
private:
|
||||
WorkQueue m_WorkQueue{10000000, 1};
|
||||
|
Loading…
x
Reference in New Issue
Block a user