diff --git a/creolefuncs/redis.py b/creolefuncs/redis.py index 87bb432..967f764 100644 --- a/creolefuncs/redis.py +++ b/creolefuncs/redis.py @@ -6,3 +6,6 @@ # def add(num1, num2): return str(int(num1) + int(num2)).decode("utf-8") + +def intAdd(num1, num2): + return int(num1) + int(num2) diff --git a/dicos/90_redis.xml b/dicos/90_redis.xml index c0e40da..2f74723 100644 --- a/dicos/90_redis.xml +++ b/dicos/90_redis.xml @@ -3,12 +3,16 @@ + redis-server + redis2-server redisPort redisClPort - redis-server + redisPortSlave + redisClPortSlave + redis-server rdClIP @@ -24,10 +28,15 @@ Local - + + non + + + + 6379 - + 512 @@ -37,6 +46,23 @@ 60 + + + + + 6379 + + + + 512 + + + noeviction + + + 60 + + @@ -46,11 +72,23 @@ - + + 6379 + - + + + non + + + + +