mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2026-11-19 21:09:39 +00:00
Reduce translation cache refresh slightly to 23 hours
This commit is contained in:
1 file changed
+1
-1
@@ -64,7 +64,7 @@ public class TranslationRepository {
|
||||
private static final String TRANSLATIONS_INFO_ENDPOINT = "https://metadata.luckperms.net/data/translations";
|
||||
private static final String TRANSLATIONS_DOWNLOAD_ENDPOINT = "https://metadata.luckperms.net/translation/";
|
||||
private static final long MAX_BUNDLE_SIZE = 1048576L; // 1mb
|
||||
private static final long CACHE_MAX_AGE = TimeUnit.DAYS.toMillis(1);
|
||||
private static final long CACHE_MAX_AGE = TimeUnit.HOURS.toMillis(23);
|
||||
|
||||
private final LuckPermsPlugin plugin;
|
||||
|
||||
|
||||
Reference in new issue
Block a user