Explorar o código

Redis result backend: Don't call SAVE before disconnect.

Ask Solem %!s(int64=15) %!d(string=hai) anos
pai
achega
a2e1c69259
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      celery/backends/pyredis.py

+ 0 - 1
celery/backends/pyredis.py

@@ -94,7 +94,6 @@ class RedisBackend(KeyValueStoreBackend):
     def close(self):
         """Close the connection to redis."""
         if self._connection is not None:
-            self._connection.save()
             self._connection.connection.disconnect()
             self._connection = None