Browse Source

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

Ask Solem 15 năm trước cách đây
mục cha
commit
a2e1c69259
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  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