Version: 4.1.2 Update

Signed-off-by: gh0stkey <24655118+gh0stkey@users.noreply.github.com>
This commit is contained in:
gh0stkey
2025-04-02 10:36:21 +08:00
parent 3608c3dca8
commit c81094eb30
8 changed files with 86 additions and 32 deletions

View File

@@ -8,7 +8,7 @@ import java.util.concurrent.TimeUnit;
public class MessageCache {
private static final int MAX_SIZE = 100000;
private static final int EXPIRE_DURATION = 12;
private static final int EXPIRE_DURATION = 4;
private static final Cache<String, Map<String, Map<String, Object>>> cache =
Caffeine.newBuilder()