change the cache for player name to uuid to be 6 hours

This commit is contained in:
Lee 2024-04-13 14:06:48 +01:00
parent 5381a2887e
commit 52d89a6d9f

@ -13,7 +13,7 @@ import java.util.UUID;
@Getter
@EqualsAndHashCode(onlyExplicitlyIncluded = true)
@ToString
@RedisHash(value = "playerName", timeToLive = 60L * 60L) // 1 hour (in seconds)
@RedisHash(value = "playerName", timeToLive = 60L * 60L * 6) // 6 hours (in seconds)
public final class CachedPlayerName {
/**
* The username of the player.