Browse Source

auto commit

master
jfinn 2 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,8 +26,8 @@ class Eobj():pass
26 26
 def connect_redis1():
27 27
 	return redis.Redis(host='localhost', port=6379, db=1,charset="utf-8", decode_responses=True, encoding_errors="backslashreplace")
28 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 31
 	r'''
32 32
 
33 33
 	return {

Loading…
Cancel
Save