Selaa lähdekoodia

Merge pull request #2360 from tfrench/master

Redis backend: max connection issue
Ask Solem Hoel 10 vuotta sitten
vanhempi
commit
65f859bab8
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      celery/backends/redis.py

+ 1 - 1
celery/backends/redis.py

@@ -85,7 +85,7 @@ class RedisBackend(KeyValueStoreBackend):
             'port': _get('PORT') or 6379,
             'db': _get('DB') or 0,
             'password': _get('PASSWORD'),
-            'max_connections': max_connections,
+            'max_connections': self.max_connections,
         }
         if url:
             self.connparams = self._params_from_url(url, self.connparams)