Explorar o código

Fixed Control.disable_events() documentation bug

Paul Pearce %!s(int64=9) %!d(string=hai) anos
pai
achega
a2180094a1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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):