We need to open en Cluster port ... redis port + 10000

This commit is contained in:
2018-05-14 22:56:26 +02:00
parent 9ee6f06cf3
commit 1b0cc0ddb1
2 changed files with 14 additions and 0 deletions

8
creolefuncs/redis.py Normal file
View File

@ -0,0 +1,8 @@
# -*- coding: utf-8 -*-
#
# just add 2 numbers ...
#
def add(num1, num2):
return str(int(num1) + int(num2)).decode("utf-8")