Skip to content

Commit

Permalink
remove debug LOG info
Browse files Browse the repository at this point in the history
Change-Id: I1358fb9216dd2a8d04be0e8772cd715c79c61b1e
  • Loading branch information
zhoney committed May 20, 2021
1 parent 42230d8 commit 4889059
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,6 @@ public long tick() {
long current = now();
for (Iterator<CacheNode<K, V>> it = this.nodes(); it.hasNext();) {
CacheNode<K, V> node = it.next();
LOG.info("expireTime: {}, current: {}, node.time(): {}, " +
"current-node.time(): {}, node: {}",
expireTime, current, node.time(), current - node.time(), node);
if (current - node.time() > expireTime) {
// Remove item while iterating map (it must be ConcurrentMap)
this.remove(node.key());
Expand All @@ -191,7 +188,7 @@ public long tick() {
}

if (expireItems > 0) {
LOG.info("Cache expired {} items cost {}ms (size {}, expire {}ms)",
LOG.debug("Cache expired {} items cost {}ms (size {}, expire {}ms)",
expireItems, now() - current, this.size(), expireTime);
}
return expireItems;
Expand Down

0 comments on commit 4889059

Please sign in to comment.