From 52d89a6d9ffa6df123e876f8cef9ab4f216eae4a Mon Sep 17 00:00:00 2001 From: Liam Date: Sat, 13 Apr 2024 14:06:48 +0100 Subject: [PATCH] change the cache for player name to uuid to be 6 hours --- src/main/java/cc/fascinated/model/cache/CachedPlayerName.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/cc/fascinated/model/cache/CachedPlayerName.java b/src/main/java/cc/fascinated/model/cache/CachedPlayerName.java index 2e97368..480c624 100644 --- a/src/main/java/cc/fascinated/model/cache/CachedPlayerName.java +++ b/src/main/java/cc/fascinated/model/cache/CachedPlayerName.java @@ -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.