From c1059bb937d2bbf801902665ba108c95da0eff23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beatrice=20Dellac=C3=A0?= Date: Wed, 21 Dec 2022 03:43:55 +0100 Subject: [PATCH] Raise interaction expiration time to 30s --- src/main/java/wtf/beatrice/hidekobot/Cache.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/wtf/beatrice/hidekobot/Cache.java b/src/main/java/wtf/beatrice/hidekobot/Cache.java index 7d6346a..ef18916 100644 --- a/src/main/java/wtf/beatrice/hidekobot/Cache.java +++ b/src/main/java/wtf/beatrice/hidekobot/Cache.java @@ -46,7 +46,7 @@ public class Cache private final static String expiryTimestampFormat = "yy/MM/dd HH:mm:ss"; // note: discord sets interactions' expiry time to 15 minutes by default, so we can't go higher than that. - private final static long expiryTimeSeconds = 15L; + private final static long expiryTimeSeconds = 30L; // used to count e.g. uptime private static LocalDateTime startupTime = null;