Przeglądaj źródła

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

Ask Solem 15 lat temu
rodzic
commit
a2e1c69259
1 zmienionych plików z 0 dodań i 1 usunięć
  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