diff --git a/src/main/java/com/io/yutian/aulib/redis/RedisCacheSyncTimer.java b/src/main/java/com/io/yutian/aulib/redis/RedisCacheSyncTimer.java index eb2e5e0..a7e1d60 100644 --- a/src/main/java/com/io/yutian/aulib/redis/RedisCacheSyncTimer.java +++ b/src/main/java/com/io/yutian/aulib/redis/RedisCacheSyncTimer.java @@ -33,7 +33,7 @@ public class RedisCacheSyncTimer { PluginInfo pluginInfo = entry.getValue(); String lockKey = LOCK_KEY + "_" + plugin.getName(); IJedisGetter jedisGetter = pluginInfo.getJedisGetter(); - try (Jedis jedis = jedisGetter.getRedis()) {ยท + try (Jedis jedis = jedisGetter.getRedis()) { long lockResult = jedis.setnx(lockKey, "locked"); if (lockResult != 1) { continue;