Increment inactive placeholders' timeout ticks

This commit is contained in:
filoghost 2021-12-14 21:38:37 +01:00
parent b23abef7ab
commit 68b6a8bf30

View File

@ -34,7 +34,7 @@ public class ActivePlaceholderTracker implements PlaceholderReplaceFunction {
this.registry = registry; this.registry = registry;
this.tickClock = tickClock; this.tickClock = tickClock;
this.exceptionHandler = new PlaceholderExceptionHandler(tickClock); this.exceptionHandler = new PlaceholderExceptionHandler(tickClock);
this.activePlaceholders = new TickExpiringMap<>(new HashMap<>(), 1); this.activePlaceholders = new TickExpiringMap<>(new HashMap<>(), 10);
} }
public void clearOutdatedEntries() { public void clearOutdatedEntries() {