forked from MinecraftUtilities/Backend
change the cache for player name to uuid to be 6 hours
This commit is contained in:
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.
|
||||
|
Loading…
Reference in New Issue
Block a user