Explorar o código

Somehow countdown+eta arguments was merged away

Ask Solem %!s(int64=16) %!d(string=hai) anos
pai
achega
9fa2c0c76c
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      celery/execute.py

+ 2 - 1
celery/execute.py

@@ -8,7 +8,8 @@ from datetime import datetime, timedelta
 
 def apply_async(task, args=None, kwargs=None, routing_key=None,
         immediate=None, mandatory=None, connection=None,
-        connect_timeout=AMQP_CONNECTION_TIMEOUT, priority=None, **opts):
+        connect_timeout=AMQP_CONNECTION_TIMEOUT, priority=None,
+        countdown=None, eta=None, **opts):
     """Run a task asynchronously by the celery daemon(s).
 
     :param task: The task to run (a callable object, or a :class:`Task`