impl etags
All checks were successful
Deploy App / docker (ubuntu-latest, 2.44.0, 17, 3.8.5) (push) Successful in 1m56s

This commit is contained in:
Lee
2024-04-19 20:46:30 +01:00
parent 4dc263961d
commit d0cfd03ad9
16 changed files with 50 additions and 48 deletions

View File

@ -1,8 +1,7 @@
package xyz.mcutils.backend.model.cache;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Getter;
import lombok.ToString;
import lombok.*;
import org.springframework.data.annotation.Id;
import org.springframework.data.redis.core.RedisHash;
import xyz.mcutils.backend.common.CachedResponse;
@ -12,8 +11,8 @@ import java.util.UUID;
/**
* @author Braydon
*/
@Getter
@ToString
@Setter
@Getter @EqualsAndHashCode(callSuper = false)
@RedisHash(value = "playerName", timeToLive = 60L * 60L * 6) // 6 hours (in seconds)
public class CachedPlayerName extends CachedResponse {
/**