Skip to content

Commit

Permalink
[ISSUE #656] Set rocketmq-v5-client-spring-boot default awaitDuration…
Browse files Browse the repository at this point in the history
… to 5
  • Loading branch information
drpmma authored May 24, 2024
1 parent 80e4002 commit c74d329
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,6 @@
/**
* The max await time when receive messages from the server.
*/
int awaitDuration() default 0;
int awaitDuration() default 5;

}
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ public static class SimpleConsumer {
/**
* The max await time when receive messages from the server.
*/
private int awaitDuration = 0;
private int awaitDuration = 5;

/**
* Tag of consumer.
Expand Down

0 comments on commit c74d329

Please sign in to comment.