Celery 2.3 Documentationreturn value of result.successful() will be False, and result.result will contain the exception instance raised by the task. 10 Chapter 1. Getting Started Celery Documentation, Release 2.3.5 1.3.5 Where worker logs to. See Logging. loglevel The current log level used. hostname Hostname of the worker instance executing the task. delivery_info Additional message delivery information. This is a mapping containing A task is not instantiated for every request, but is registered in the task registry as a global instance. This means that the __init__ constructor will only be called once per process, and that the task0 码力 | 334 页 | 1.25 MB | 1 年前3
Celery 2.3 Documentationreturn value of result.successful() will be False, and result.result will contain the exception instance raised by the task. Where to go from here After this you should read the User Guide. Specifically worker logs to. See Logging. loglevel: The current log level used. hostname: Hostname of the worker instance executing the task. delivery_info: Additional message delivery information. This is a mapping A task is not instantiated for every request, but is registered in the task registry as a global instance. This means that the __init__ constructor will only be called once per process, and that the task0 码力 | 530 页 | 900.64 KB | 1 年前3
Celery 2.2 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243 iii 11.4 “The Big Instance” Refactor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 244 11 return value of result.successful() will be False, and result.result will contain the exception instance raised by the task. 1.3.5 Where to go from here After this you should read the User Guide. Specifically context = RequestContext(request, {"form": form}) return render_to_response(template_name, context_instance=context) To filter spam in comments we use Akismet, the service used to filter spam in comments0 码力 | 314 页 | 1.26 MB | 1 年前3
Celery 2.2 Documentationreturn value of result.successful() will be False, and result.result will contain the exception instance raised by the task. Where to go from here After this you should read the User Guide. Specifically = RequestContext(request, {"form": form}) return render_to_response(template_name, context_instance=context) To filter spam in comments we use Akismet [http://akismet.com/faq/], the service used this by using the connect_timeout argument to apply_async: add.apply_async([10, 10], connect_timeout=3) Or if you handle the connection manually: publisher = add.get_publisher(connect_timeout=3) Routing0 码力 | 505 页 | 878.66 KB | 1 年前3
Celery 2.1 Documentationreturn value of result.successful() will be False, and result.result will contain the exception instance raised by the task. 1.3.5 Where to go from here After this you should read the User Guide. Specifically context = RequestContext(request, {"form": form}) return render_to_response(template_name, context_instance=context) To filter spam in comments we use Akismet, the service used to filter spam in comments this by using the connect_timeout argument to apply_async: add.apply_async([10, 10], connect_timeout=3) Or if you handle the connection manually: publisher = add.get_publisher(connect_timeout=3) 2.30 码力 | 285 页 | 1.19 MB | 1 年前3
Celery 2.5 Documentationany additional dependencies or initial configuration, other than the URL location of the broker instance you want to use: >>> BROKER_URL = "amqp://guest:guest@localhost:5672//" For a description of broker return value of result.successful() will be False, and result.result will contain the exception instance raised by the task. 1.3.6 Where to go from here After this you should read the User Guide. Specifically worker logs to. See Logging. loglevel The current log level used. hostname Hostname of the worker instance executing the task. delivery_info Additional message delivery information. This is a mapping containing0 码力 | 400 页 | 1.40 MB | 1 年前3
Celery 2.4 Documentationany additional dependencies or initial configuration, other than the URL location of the broker instance you want to use: >>> BROKER_URL = "amqp://guest:guest@localhost:5672//" For a description of broker return value of result.successful() will be False, and result.result will contain the exception instance raised by the task. Where to go from here After this you should read the User Guide. Specifically worker logs to. See Logging. loglevel: The current log level used. hostname: Hostname of the worker instance executing the task. delivery_info: Additional message delivery information. This is a mapping0 码力 | 543 页 | 957.42 KB | 1 年前3
Celery 2.1 Documentationreturn value of result.successful() will be False, and result.result will contain the exception instance raised by the task. Where to go from here After this you should read the User Guide. Specifically = RequestContext(request, {"form": form}) return render_to_response(template_name, context_instance=context) To filter spam in comments we use Akismet [http://akismet.com/faq/], the service used this by using the connect_timeout argument to apply_async: add.apply_async([10, 10], connect_timeout=3) Or if you handle the connection manually: publisher = add.get_publisher(connect_timeout=3) Routing0 码力 | 463 页 | 861.69 KB | 1 年前3
Celery 2.4 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283 11.4 “The Big Instance” Refactor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 284 11 any additional dependencies or initial configuration, other than the URL location of the broker instance you want to use: >>> BROKER_URL = "amqp://guest:guest@localhost:5672//" For a description of broker return value of result.successful() will be False, and result.result will contain the exception instance raised by the task. 1.3.6 Where to go from here After this you should read the User Guide. Specifically0 码力 | 395 页 | 1.54 MB | 1 年前3
Celery 2.5 Documentationany additional dependencies or initial configuration, other than the URL location of the broker instance you want to use: >>> BROKER_URL = "amqp://guest:guest@localhost:5672//" For a description of broker return value of result.successful() will be False, and result.result will contain the exception instance raised by the task. Where to go from here After this you should read the User Guide. Specifically worker logs to. See Logging. loglevel: The current log level used. hostname: Hostname of the worker instance executing the task. delivery_info: Additional message delivery information. This is a mapping0 码力 | 647 页 | 1011.88 KB | 1 年前3
共 51 条
- 1
- 2
- 3
- 4
- 5
- 6













