Skip to content

Commit 4556446

Browse files
Zainullin DamirZainullin Damir
authored andcommitted
++
1 parent 9c9815d commit 4556446

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

include/ipfixprobe/outputPlugin/outputStorage/mqOutputStorage.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,8 @@ class MQOutputStorage : public OutputStorage<ElementType> {
207207

208208
bool allReadersFinished() const noexcept
209209
{
210-
return m_stateBuffer.getCurrentValue().read > m_buffersSize;
210+
// TODO changed to >= from >
211+
return m_stateBuffer.getCurrentValue().read >= m_buffersSize;
211212
}
212213

213214
std::atomic<bool> m_writerFinished {false};

0 commit comments

Comments
 (0)