File tree Expand file tree Collapse file tree
include/ipfixprobe/outputPlugin/outputStorage Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ class MQ2OutputStorage : public MQOutputStorage<ElementType> {
3737 const Reference<OutputContainer<ElementType>>& container,
3838 const uint8_t writerIndex) noexcept override
3939 {
40- BackoffScheme backoff (3 , std::numeric_limits<std::size_t >::max ());
40+ BackoffScheme backoff (30 , std::numeric_limits<std::size_t >::max ());
4141 while (!this ->m_queues [writerIndex].tryWrite (
4242 container,
4343 *this ->m_allocationBuffer ,
@@ -50,7 +50,7 @@ class MQ2OutputStorage : public MQOutputStorage<ElementType> {
5050
5151 OutputContainer<ElementType>* read (const uint8_t readerIndex) noexcept override
5252 {
53- BackoffScheme backoff (3 , std::numeric_limits<std::size_t >::max ());
53+ BackoffScheme backoff (30 , std::numeric_limits<std::size_t >::max ());
5454 while (true ) {
5555 const uint8_t sequenceIndex = this ->m_readersData [readerIndex]->sequenceIndex ++;
5656 const uint8_t queueIndex
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ class MQOutputStorage : public OutputStorage<ElementType> {
102102 OutputContainer<ElementType>* read (const uint8_t readerIndex) noexcept override
103103 {
104104 const size_t tries = this ->m_expectedWritersCount / this ->m_expectedReadersCount + 1 ;
105- BackoffScheme backoff (3 , 5 );
105+ BackoffScheme backoff (30 , 3 );
106106 for (const auto _ : std::views::iota (0U , tries)) {
107107 const uint8_t sequenceIndex = m_readersData[readerIndex]->sequenceIndex ++;
108108 const uint8_t queueIndex
@@ -160,7 +160,7 @@ class MQOutputStorage : public OutputStorage<ElementType> {
160160 State* currentState = &m_stateBuffer.getCurrentValue ();
161161
162162 if (currentState->written == m_buffersSize) {
163- BackoffScheme backoff (7 , longBackoffTries);
163+ BackoffScheme backoff (30 , longBackoffTries);
164164 while (!allReadersFinished ()) {
165165 if (!backoff.backoff ()) {
166166 // origin.deallocate(container, writerId);
You can’t perform that action at this time.
0 commit comments