Skip to content

Commit

Permalink
fix: improve keep alive of simple consumer recevive
Browse files Browse the repository at this point in the history
Signed-off-by: wangxye <[email protected]>
  • Loading branch information
wangxye committed Nov 8, 2023
1 parent bfd70df commit a05171f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ public static void tryReceiveOnce(SimpleConsumer consumer, Boolean useExistTopic
cfs[i] = future;
}
try {
CompletableFuture.allOf(cfs).get(30, TimeUnit.SECONDS);
CompletableFuture.allOf(cfs).get(60, TimeUnit.SECONDS);
log.info("receive server response, cost={}ms", System.currentTimeMillis() - start);
} catch (Exception e) {
throw new RuntimeException("receive response count not match");
Expand Down

0 comments on commit a05171f

Please sign in to comment.