dever 6 năm trước cách đây
mục cha
commit
3c8ed7fc5b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      demeter/core.py

+ 1 - 1
demeter/core.py

@@ -405,7 +405,7 @@ class Demeter(object):
 		self.initConfig()
 		import redis
 		config = self.config['redis']
-		pool = redis.ConnectionPool(host=config['host'], port=int(config['port']))
+		pool = redis.ConnectionPool(host=config['host'], password=config['password'], port=int(config['port']))
 		return redis.Redis(connection_pool=pool)
 
 class File(object):