Browse Source

control.inspect: Removed now invalid command diagnose()

Ask Solem 14 năm trước cách đây
mục cha
commit
e19fbc11d9
1 tập tin đã thay đổi với 0 bổ sung4 xóa
  1. 0 4
      celery/task/control.py

+ 0 - 4
celery/task/control.py

@@ -58,10 +58,6 @@ class Inspect(object):
     def disable_events(self):
         return self._request("disable_events")
 
-    def diagnose(self):
-        diagnose_timeout = self.timeout * 0.85              # 15% of timeout
-        return self._request("diagnose", timeout=diagnose_timeout)
-
     def ping(self):
         return self._request("ping")