Skip to content

Commit

Permalink
fix(retry): send message back failed some time because timeout set to…
Browse files Browse the repository at this point in the history
… short. (#283)
  • Loading branch information
ShannonDing authored Mar 19, 2020
1 parent f7c0a1a commit aee285f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/consumer/DefaultMQPushConsumerImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,8 @@ bool DefaultMQPushConsumerImpl::sendMessageBack(MQMessageExt& msg, int delayLeve
else
brokerAddr = socketAddress2IPPort(msg.getStoreHost());
try {
getFactory()->getMQClientAPIImpl()->consumerSendMessageBack(brokerAddr, msg, getGroupName(), delayLevel,
getMaxReconsumeTimes(), 3000, getSessionCredentials());
getFactory()->getMQClientAPIImpl()->consumerSendMessageBack(brokerAddr, msg, getGroupName(), delayLevel, 3000,
getMaxReconsumeTimes(), getSessionCredentials());
} catch (MQException& e) {
LOG_ERROR(e.what());
return false;
Expand Down

0 comments on commit aee285f

Please sign in to comment.