Tweak thread pool

This commit is contained in:
Alexander Xia committed 2020-08-16 21:55:06 +08:00
1 parent b64700b9fb
commit f003d57ddf
3 files changed
+18 -7

No files matched your search

@@ -59,7 +59,7 @@ public class ProfileCache {
public void updateCache(String username,UserProfile profile,boolean saveLocalProfile){
CachedProfile cp=getCachedProfile(username);
cp.profile=profile;
cp.expiryTime=TimeUtil.getUnixTimestampRandomDelay(CustomSkinLoader.config.cacheExpiry);
cp.expiryTime=TimeUtil.getUnixTimestamp(CustomSkinLoader.config.cacheExpiry);
if(!saveLocalProfile)
return;
saveLocalProfile(username,profile);