jonnxu commented on a change in pull request #48: [Issue#44] Resolve
RetrySendTimes doesn't Work for Async Send
URL: https://github.com/apache/rocketmq-client-cpp/pull/48#discussion_r245183462
##########
File path: src/transport/TcpRemotingClient.h
##########
@@ -46,11 +46,10 @@ class TcpRemotingClient {
bool invokeHeartBeat(const string& addr, RemotingCommand& request);
- bool invokeAsync(const string& addr, RemotingCommand& request,
- AsyncCallbackWrap* cbw, int64 timeoutMilliseconds);
-
+ bool invokeAsync(const string& addr, RemotingCommand& request,
AsyncCallbackWrap* cbw,
+ int64 timeoutMilliseconds, int maxRetrySendTimes=1, int
retrySendTimes=1);
void invokeOneway(const string& addr, RemotingCommand& request);
-
+
Review comment:
ok
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services