1
0
mirror of https://github.com/lucko/LuckPerms.git synced 2025-09-02 19:02:33 +02:00

Reduce translation cache refresh slightly to 23 hours

This commit is contained in:
Luck
2020-11-26 17:24:37 +00:00
parent 8a38c5f4b7
commit fdd3b117f1

View File

@@ -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;