瀏覽代碼

Fixed Control.disable_events() documentation bug

Paul Pearce 9 年之前
父節點
當前提交
a4bed4dd62
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      celery/app/control.py

+ 1 - 1
celery/app/control.py

@@ -263,7 +263,7 @@ class Control(object):
         return self.broadcast('enable_events', {}, destination, **kwargs)
 
     def disable_events(self, destination=None, **kwargs):
-        """Tell all (or specific) workers to enable events."""
+        """Tell all (or specific) workers to disable events."""
         return self.broadcast('disable_events', {}, destination, **kwargs)
 
     def pool_grow(self, n=1, destination=None, **kwargs):