lol oops, fix the cache in the backend not properly updating
All checks were successful
Deploy API / deploy (ubuntu-latest, 2.44.0) (push) Successful in 56s

This commit is contained in:
Braydon 2024-09-10 18:25:56 -04:00
parent e8bfc88e1e
commit 6ece107b43

@ -45,7 +45,7 @@ public final class DiscordService {
* A cache of users retrieved from Discord.
*/
private final Cache<Long, CachedDiscordUser> cachedUsers = Caffeine.newBuilder()
.expireAfterAccess(3L, TimeUnit.MINUTES)
.expireAfterWrite(3L, TimeUnit.MINUTES)
.build();
@Value("${discord.bot-token}")