Skip to content

Commit

Permalink
Fix fmt exception
Browse files Browse the repository at this point in the history
  • Loading branch information
liuh-80 committed Sep 13, 2024
1 parent abf88b8 commit 69bd2cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common/consumerstatetable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,13 @@ size_t ConsumerStateTable::popsWithBatchSize(std::deque<KeyOpFieldsValuesTuple>

RedisCommand command;
command.format(
"EVALSHA %s 3 %s %s%s %s %zu %s",
"EVALSHA %s 3 %s %s%s %s %d %s",
m_shaPop.c_str(),
getKeySetName().c_str(),
getTableName().c_str(),
getTableNameSeparator().c_str(),
getDelKeySetName().c_str(),
popBatchSize,
(int)popBatchSize,
getStateHashPrefix().c_str());

RedisReply r(m_db, command);
Expand Down

0 comments on commit 69bd2cb

Please sign in to comment.