Explorar o código

Fix missing parameters passing through the _new_redis_client method

Jeremy Llewellyn %!s(int64=9) %!d(string=hai) anos
pai
achega
f23b663d44
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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):