Browse Source

auto commit

master
jfinn 3 years ago
parent
commit
e6fc5fed2e
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      wsps/tasks_loop.py

+ 2
- 2
wsps/tasks_loop.py View File

26
 def connect_redis1():
26
 def connect_redis1():
27
 	return redis.Redis(host='localhost', port=6379, db=1,charset="utf-8", decode_responses=True, encoding_errors="backslashreplace")
27
 	return redis.Redis(host='localhost', port=6379, db=1,charset="utf-8", decode_responses=True, encoding_errors="backslashreplace")
28
 def connect_redis():
28
 def connect_redis():
29
-	# return redis.Redis(host='localhost', port=6379, db=0,charset="utf-8", decode_responses=True, encoding_errors="backslashreplace")
30
-	return redis.Redis(host='localhost', port=6379,charset="utf-8", decode_responses=True, encoding_errors="backslashreplace")
29
+	return redis.Redis(host='localhost', port=6379, db=0,charset="utf-8", decode_responses=True, encoding_errors="backslashreplace")
30
+	# return redis.Redis(host='localhost', port=6379,charset="utf-8", decode_responses=True, encoding_errors="backslashreplace")
31
 	r'''
31
 	r'''
32
 
32
 
33
 	return {
33
 	return {

Loading…
Cancel
Save