PC-998 Change cache time for chat messages to 5 minutes

This commit is contained in:
Keir Nellyer 2016-09-21 11:46:03 +01:00
parent 32563904fa
commit e73b06b5ab

View File

@ -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;