@@ -41,10 +41,10 @@ public abstract class PlayerDataManager<P, LE, DE, PS extends IPubSubMessageEven
4141 private final UnifiedJedis unifiedJedis ;
4242 private final String proxyId ;
4343 private final String networkId ;
44- private final LoadingCache <UUID , String > serverCache = Caffeine .newBuilder ().expireAfterWrite (1 , TimeUnit .MINUTES ).build (this ::getServerFromRedis );
45- private final LoadingCache <UUID , String > lastServerCache = Caffeine .newBuilder ().expireAfterWrite (1 , TimeUnit .MINUTES ).build (this ::getLastServerFromRedis );
46- private final LoadingCache <UUID , String > proxyCache = Caffeine .newBuilder ().expireAfterWrite (1 , TimeUnit .MINUTES ).build (this ::getProxyFromRedis );
47- private final LoadingCache <UUID , InetAddress > ipCache = Caffeine .newBuilder ().expireAfterWrite (1 , TimeUnit .MINUTES ).build (this ::getIpAddressFromRedis );
44+ private final LoadingCache <UUID , String > serverCache = Caffeine .newBuilder ().expireAfterWrite (1 , TimeUnit .HOURS ).build (this ::getServerFromRedis );
45+ private final LoadingCache <UUID , String > lastServerCache = Caffeine .newBuilder ().expireAfterWrite (1 , TimeUnit .HOURS ).build (this ::getLastServerFromRedis );
46+ private final LoadingCache <UUID , String > proxyCache = Caffeine .newBuilder ().expireAfterWrite (1 , TimeUnit .HOURS ).build (this ::getProxyFromRedis );
47+ private final LoadingCache <UUID , InetAddress > ipCache = Caffeine .newBuilder ().expireAfterWrite (1 , TimeUnit .HOURS ).build (this ::getIpAddressFromRedis );
4848 private final LoadingCache <Object , Multimap <String , UUID >> serverToPlayersCache = Caffeine .newBuilder ().expireAfterWrite (10 , TimeUnit .MINUTES ).build (this ::serversToPlayersBuilder );
4949 private final JSONComponentSerializer COMPONENT_SERIALIZER = JSONComponentSerializer .json ();
5050
0 commit comments