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
All checks were successful
Deploy API / deploy (ubuntu-latest, 2.44.0) (push) Successful in 56s
This commit is contained in:
parent
e8bfc88e1e
commit
6ece107b43
@ -45,7 +45,7 @@ public final class DiscordService {
|
|||||||
* A cache of users retrieved from Discord.
|
* A cache of users retrieved from Discord.
|
||||||
*/
|
*/
|
||||||
private final Cache<Long, CachedDiscordUser> cachedUsers = Caffeine.newBuilder()
|
private final Cache<Long, CachedDiscordUser> cachedUsers = Caffeine.newBuilder()
|
||||||
.expireAfterAccess(3L, TimeUnit.MINUTES)
|
.expireAfterWrite(3L, TimeUnit.MINUTES)
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
@Value("${discord.bot-token}")
|
@Value("${discord.bot-token}")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user