Explorar o código

celery.chord_unlock will pollute the backends, ignore its results

Steeve Morin %!s(int64=12) %!d(string=hai) anos
pai
achega
c336feb49f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      celery/app/builtins.py

+ 1 - 1
celery/app/builtins.py

@@ -70,7 +70,7 @@ def add_unlock_chord_task(app):
     from celery import result as _res
 
     @app.task(name='celery.chord_unlock', max_retries=None,
-              default_retry_delay=1)
+              default_retry_delay=1, ignore_result=True)
     def unlock_chord(group_id, callback, interval=None, propagate=False,
             max_retries=None, result=None, Result=_res.AsyncResult):
         if interval is None: