瀏覽代碼

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

Ask Solem 15 年之前
父節點
當前提交
a2e1c69259
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      celery/backends/pyredis.py

+ 0 - 1
celery/backends/pyredis.py

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