mirror of
https://github.com/proxiodev/RedisBungee.git
synced 2024-11-23 04:28:01 +00:00
add new lua scripts for cluster info/time requesting
This commit is contained in:
parent
b15b9dbb96
commit
b910fa5eb6
@ -14,6 +14,8 @@ public class LuaManager {
|
|||||||
this.plugin = plugin;
|
this.plugin = plugin;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public Script createScript(String script) {
|
public Script createScript(String script) {
|
||||||
RedisTask<Script> scriptRedisTask = new RedisTask<Script>(plugin.getApi()) {
|
RedisTask<Script> scriptRedisTask = new RedisTask<Script>(plugin.getApi()) {
|
||||||
@Override
|
@Override
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
return redis.call("INFO")
|
@ -0,0 +1 @@
|
|||||||
|
return redis.call('TIME')
|
Loading…
Reference in New Issue
Block a user