Skip to content

Commit

Permalink
[feat](job)Implementing Job using antlr4
Browse files Browse the repository at this point in the history
  • Loading branch information
CalvinKirs committed Sep 27, 2024
1 parent 5d00a76 commit 0f24af5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ private long connectionAgeExpiredAt() {
if (!isMetaServiceEndpointList && connectionAgeBase > 1) {
long base = TimeUnit.MINUTES.toMillis(connectionAgeBase);
long now = System.currentTimeMillis();
long rand = random.nextLong();
long rand = random.nextLong(base);
return now + base + rand;
}
return Long.MAX_VALUE;
Expand Down

0 comments on commit 0f24af5

Please sign in to comment.