v2.5.2
This commit is contained in:
parent
11b08d8291
commit
22e35ef80a
|
@ -36,7 +36,7 @@ public class RedisCacheSyncTimer {
|
|||
try (Jedis jedis = jedisGetter.getRedis()) {
|
||||
long lockResult = jedis.setnx(lockKey, "locked");
|
||||
if (lockResult != 1) {
|
||||
break;
|
||||
continue;
|
||||
}
|
||||
jedis.expire(lockKey, LOCK_EXPIRE_SECONDS);
|
||||
for (Map.Entry<Pair<String, String>, RedisCacheSynchronizer> entry1 : entry.getValue().getSynchronizers().entrySet()) {
|
||||
|
@ -65,7 +65,7 @@ public class RedisCacheSyncTimer {
|
|||
}
|
||||
}
|
||||
}
|
||||
}.runTaskTimerAsynchronously(AuLib.inst(), 60L, 5 * 60 * 20L);
|
||||
}.runTaskTimerAsynchronously(AuLib.inst(), 1200L, 5 * 60 * 20L);
|
||||
}
|
||||
|
||||
public void registerSynchronizer(Plugin plugin, IJedisGetter jedisGetter, Pair<String, String> key, RedisCacheSynchronizer synchronizer) {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
name: AuLib
|
||||
main: com.io.yutian.aulib.AuLib
|
||||
version: 2.5.1
|
||||
version: 2.5.2
|
||||
api-version: 1.18
|
||||
author: SuperYuTian
|
Loading…
Reference in New Issue
Block a user