Skip to content

Commit

Permalink
RATIS-2083. Timer thread leak when log level is DEBUG (apache#1086)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChenSammi authored and szetszwo committed Jun 16, 2024
1 parent 052a9ad commit 7b85a65
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
import java.util.SortedMap;
import java.util.TreeMap;
import java.util.concurrent.ConcurrentSkipListMap;
import java.util.concurrent.TimeUnit;
import java.util.function.Consumer;
import java.util.function.LongFunction;

Expand Down Expand Up @@ -70,9 +69,6 @@ class RequestMap<REQUEST extends Request<REPLY>, REPLY> implements Iterable<REQU

RequestMap(Object name) {
this.name = name;
if (LOG.isDebugEnabled()) {
JavaUtils.runRepeatedly(this::log, 5, 10, TimeUnit.SECONDS);
}
}

Object getName() {
Expand Down

0 comments on commit 7b85a65

Please sign in to comment.