Skip to content

Commit

Permalink
Update orch.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
liuh-80 committed Sep 20, 2024
1 parent fe33fd2 commit bfe42aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions orchagent/orch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include "zmqconsumerstatetable.h"
#include "sai_serialize.h"

#define CONSUMER_POP_MAX_BATCH_COUNT 1
#define CONSUMER_POP_MAX_BATCH_COUNT 2

using namespace swss;

Expand Down Expand Up @@ -794,7 +794,7 @@ void Orch::addConsumer(DBConnector *db, string tableName, int pri)
}
else
{
addExecutor(new Consumer(new ConsumerStateTable(db, tableName, gBatchSize, pri), this, tableName));
addExecutor(new Consumer(new ConsumerStateTable(db, tableName, gBatchSize/2, pri), this, tableName));
}
}

Expand Down

0 comments on commit bfe42aa

Please sign in to comment.