mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-28 05:35:26 +01:00
Reduce translation cache refresh slightly to 23 hours
This commit is contained in:
parent
8a38c5f4b7
commit
fdd3b117f1
@ -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_INFO_ENDPOINT = "https://metadata.luckperms.net/data/translations";
|
||||||
private static final String TRANSLATIONS_DOWNLOAD_ENDPOINT = "https://metadata.luckperms.net/translation/";
|
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 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;
|
private final LuckPermsPlugin plugin;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user