Browse Source

celery control was not receiving replies

Ask Solem 12 năm trước cách đây
mục cha
commit
af459bca55
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      celery/bin/celery.py

+ 1 - 1
celery/bin/celery.py

@@ -614,7 +614,7 @@ class control(_RemoteControl):
     def call(self, method, *args, **options):
         # XXX Python 2.5 doesn't support X(*args, reply=True, **kwargs)
         return getattr(self.app.control, method)(
-            *args, **dict(options, retry=True))
+            *args, **dict(options, reply=True))
 
     def pool_grow(self, method, n=1, **kwargs):
         """[N=1]"""