浏览代码

Fix missing parameters passing through the _new_redis_client method

Jeremy Llewellyn 9 年之前
父节点
当前提交
f23b663d44
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      celery/backends/redis.py

+ 1 - 1
celery/backends/redis.py

@@ -255,7 +255,7 @@ class RedisBackend(KeyValueStoreBackend):
         return self._new_redis_client(
             socket_timeout=socket_timeout and float(socket_timeout),
             socket_connect_timeout=socket_connect_timeout and float(
-                socket_connect_timeout),
+                socket_connect_timeout), **params
         )
 
     def _new_redis_client(self, **params):