2
0
mirror of https://github.com/proxiodev/RedisBungee.git synced 2026-04-18 20:40:26 +00:00

remove lua files and do it in java, due Redis not supporting lua quite well in cluster mode, some scripts were added recently will be kept

This commit is contained in:
2022-07-17 07:12:57 +04:00
parent f1f74b6456
commit 019bb30c09
3 changed files with 1 additions and 43 deletions

View File

@@ -27,7 +27,7 @@ public class LuaManager {
@Override
public Script clusterJedisTask(JedisCluster jedisCluster) {
String hash = jedisCluster.scriptLoad(script, null);
String hash = jedisCluster.scriptLoad(script, "0");
return new Script(script, hash);
}
};