tkalkirill commented on code in PR #6815:
URL: https://github.com/apache/ignite-3/pull/6815#discussion_r2446953359


##########
modules/raft/src/main/java/org/apache/ignite/internal/raft/RaftGroupServiceImpl.java:
##########
@@ -604,7 +604,7 @@ private <R extends NetworkMessage> CompletableFuture<R> 
sendWithRetry(
             Function<Peer, ? extends NetworkMessage> requestFactory,
             boolean throttleOnOverload
     ) {
-        return sendWithRetry(peer, defaultTimeout(), NO_DESCRIPTION, 
requestFactory, throttleOnOverload);
+        return sendWithRetry(peer, defaultTimeout(), -1, NO_DESCRIPTION, 
requestFactory, throttleOnOverload);

Review Comment:
   Then in other methods it will be necessary to explicitly pass `-1`, do you 
think this is better?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to