瀏覽代碼

celery control command was not receiving replies

Ask Solem 11 年之前
父節點
當前提交
041cb94362
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      celery/bin/celery.py

+ 1 - 1
celery/bin/celery.py

@@ -399,7 +399,7 @@ class control(_RemoteControl):
     }
     }
 
 
     def call(self, method, *args, **options):
     def call(self, method, *args, **options):
-        return getattr(self.app.control, method)(*args, retry=True, **options)
+        return getattr(self.app.control, method)(*args, reply=True, **options)
 
 
     def pool_grow(self, method, n=1, **kwargs):
     def pool_grow(self, method, n=1, **kwargs):
         """[N=1]"""
         """[N=1]"""