2
0
mirror of https://github.com/proxiodev/RedisBungee.git synced 2024-12-23 10:38:01 +00:00

add new lua scripts for cluster info/time requesting

This commit is contained in:
mohammed jasem alaajel 2022-07-16 10:14:06 +04:00
parent b15b9dbb96
commit b910fa5eb6
3 changed files with 4 additions and 0 deletions

View File

@ -14,6 +14,8 @@ public class LuaManager {
this.plugin = plugin;
}
public Script createScript(String script) {
RedisTask<Script> scriptRedisTask = new RedisTask<Script>(plugin.getApi()) {
@Override

View File

@ -0,0 +1 @@
return redis.call("INFO")

View File

@ -0,0 +1 @@
return redis.call('TIME')