mirror of
https://github.com/xfl03/MCCustomSkinLoader.git
synced 2026-11-19 00:19:16 +00:00
Tweak thread pool
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user