Commit 42c7c31d authored by lixiaofang's avatar lixiaofang

add

parent 55a22f9d
......@@ -382,7 +382,7 @@ def reply_answer(cookies_get, id, content):
def set_reply_to_redis():
try:
redis_url = 'redis://127.0.0.1:6379/1'
redis_url = "redis://:Gengmei123@172.21.52.16:6379"
redis_client = redis.StrictRedis.from_url(redis_url)
return redis_client
......
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