Commit 1b480009 authored by Kirill Smelkov's avatar Kirill Smelkov

X Sync with redis-unixsock

parent ec01997c
......@@ -9,8 +9,6 @@ def main(args):
port = int(args['port'])
unixsocket = args['unixsocket']
try:
#pool = redis.ConnectionPool(host=host, port=port, unix_socket_path=unixsocket, db=0)
#r = redis.Redis(connection_pool=pool)
r = redis.Redis(host=host, port=port, unix_socket_path=unixsocket, db=0)
r.publish("Promise-Service","SlapOS Promise")
r.connection_pool.disconnect()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment