PC-998 Change cache time for chat messages to 5 minutes
This commit is contained in:
parent
32563904fa
commit
e73b06b5ab
@ -25,7 +25,7 @@ public class SnapshotManager
|
||||
// I went with Boolean as it's the smallest data type
|
||||
private final Cache<SnapshotMessage, Boolean> _messages = CacheBuilder.newBuilder()
|
||||
.concurrencyLevel(4)
|
||||
.expireAfterWrite(30, TimeUnit.MINUTES)
|
||||
.expireAfterWrite(5, TimeUnit.MINUTES)
|
||||
.build();
|
||||
|
||||
private final JavaPlugin _javaPlugin;
|
||||
|
Loading…
Reference in New Issue
Block a user