Przeglądaj źródła

Removes duplicate _set_cache. Closes #1940

Ask Solem 11 lat temu
rodzic
commit
a947209045
1 zmienionych plików z 0 dodań i 1 usunięć
  1. 0 1
      celery/result.py

+ 0 - 1
celery/result.py

@@ -328,7 +328,6 @@ class AsyncResult(ResultBase):
             if meta:
                 state = meta['status']
                 if state == states.SUCCESS or state in states.PROPAGATE_STATES:
-                    self._set_cache(meta)
                     return self._set_cache(meta)
             return meta
         return self._cache