Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
CalvinKirs committed Sep 30, 2024
1 parent eeabb09 commit 65b794a
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 65b794a

Please sign in to comment.