Celery 2.2 Documentation--concurrency=10 -n worker3.example.com Stopping the worker Shutdown should be accomplished using the TERM signal. When shutdown is initiated the worker will finish all currently executing tasks before it actually drastic (like sending the KILL signal). If the worker won’t shutdown after considerate time, for example because of tasks stuck in an infinite-loop, you can use the KILL signal to force terminate the worker lost (unless the tasks have the acks_late option set). Also as processes can’t override the KILL signal, the worker will not be able to reap its children, so make sure to do so manually. This command usually0 码力 | 505 页 | 878.66 KB | 1 年前3
Celery v4.1.0 Documentation(either by the task calling sys.exit() [https://docs.python.org/dev/library/sys.html#sys.exit], or by signal) even when acks_late is enabled. This behavior is by purpose as... 1. We don’t want to rerun tasks function that records the final state of the task. There are a number of exceptions that can be used to signal this function to change how it treats the return of the task. Ignore The task may raise Ignore by adding a second one: %%h. Stopping the worker Shutdown should be accomplished using the TERM signal. When shutdown is initiated the worker will finish all currently executing tasks before it actually0 码力 | 1057 页 | 1.35 MB | 1 年前3
Celery v4.0.1 Documentation(either by the task calling sys.exit() [https://docs.python.org/dev/library/sys.html#sys.exit], or by signal) even when acks_late is enabled. This behavior is by purpose as... 1. We don’t want to rerun tasks function that records the final state of the task. There are a number of exceptions that can be used to signal this function to change how it treats the return of the task. Ignore The task may raise Ignore by adding a second one: %%h. Stopping the worker Shutdown should be accomplished using the TERM signal. When shutdown is initiated the worker will finish all currently executing tasks before it actually0 码力 | 1040 页 | 1.37 MB | 1 年前3
Celery v4.0.2 Documentation(either by the task calling sys.exit() [https://docs.python.org/dev/library/sys.html#sys.exit], or by signal) even when acks_late is enabled. This behavior is by purpose as... 1. We don’t want to rerun tasks function that records the final state of the task. There are a number of exceptions that can be used to signal this function to change how it treats the return of the task. Ignore The task may raise Ignore by adding a second one: %%h. Stopping the worker Shutdown should be accomplished using the TERM signal. When shutdown is initiated the worker will finish all currently executing tasks before it actually0 码力 | 1042 页 | 1.37 MB | 1 年前3
Celery 4.0 Documentation(either by the task calling sys.exit() [https://docs.python.org/dev/library/sys.html#sys.exit], or by signal) even when acks_late is enabled. This behavior is by purpose as... 1. We don’t want to rerun tasks function that records the final state of the task. There are a number of exceptions that can be used to signal this function to change how it treats the return of the task. Ignore The task may raise Ignore by adding a second one: %%h. Stopping the worker Shutdown should be accomplished using the TERM signal. When shutdown is initiated the worker will finish all currently executing tasks before it actually0 码力 | 1042 页 | 1.37 MB | 1 年前3
Celery 3.1 Documentationfunction which records the final state of the task. There are a number of exceptions that can be used to signal this function to change how it treats the return of the task. Ignore The task may raise Ignore by adding a second one: %%h. Stopping the worker Shutdown should be accomplished using the TERM signal. When shutdown is initiated the worker will finish all currently executing tasks before it actually drastic (like sending the KILL signal). If the worker won’t shutdown after considerate time, for example because of tasks stuck in an infinite-loop, you can use the KILL signal to force terminate the worker0 码力 | 887 页 | 1.22 MB | 1 年前3
Celery v5.0.1 Documentation(either by the task calling sys.exit() [https://docs.python.org/dev/library/sys.html#sys.exit], or by signal) even when acks_late is enabled. This behavior is intentional as… 1. We don’t want to rerun tasks True Note If you want to completely disable Celery logging configuration, use the setup_logging signal: import celery @celery.signals.setup_logging.connect def on_setup_logging(**kwargs): pass function that records the final state of the task. There are a number of exceptions that can be used to signal this function to change how it treats the return of the task. Ignore The task may raise Ignore0 码力 | 2313 页 | 2.13 MB | 1 年前3
Celery v5.0.2 Documentation(either by the task calling sys.exit() [https://docs.python.org/dev/library/sys.html#sys.exit], or by signal) even when acks_late is enabled. This behavior is intentional as… 1. We don’t want to rerun tasks True Note If you want to completely disable Celery logging configuration, use the setup_logging signal: import celery @celery.signals.setup_logging.connect def on_setup_logging(**kwargs): pass function that records the final state of the task. There are a number of exceptions that can be used to signal this function to change how it treats the return of the task. Ignore The task may raise Ignore0 码力 | 2313 页 | 2.14 MB | 1 年前3
Celery v5.0.0 Documentation(either by the task calling sys.exit() [https://docs.python.org/dev/library/sys.html#sys.exit], or by signal) even when acks_late is enabled. This behavior is intentional as… 1. We don’t want to rerun tasks True Note If you want to completely disable Celery logging configuration, use the setup_logging signal: import celery @celery.signals.setup_logging.connect def on_setup_logging(**kwargs): pass function that records the final state of the task. There are a number of exceptions that can be used to signal this function to change how it treats the return of the task. Ignore The task may raise Ignore0 码力 | 2309 页 | 2.13 MB | 1 年前3
Celery v5.0.5 Documentation(either by the task calling sys.exit() [https://docs.python.org/dev/library/sys.html#sys.exit], or by signal) even when acks_late is enabled. This behavior is intentional as… 1. We don’t want to rerun tasks True Note If you want to completely disable Celery logging configuration, use the setup_logging signal: import celery @celery.signals.setup_logging.connect def on_setup_logging(**kwargs): pass function that records the final state of the task. There are a number of exceptions that can be used to signal this function to change how it treats the return of the task. Ignore The task may raise Ignore0 码力 | 2315 页 | 2.14 MB | 1 年前3
共 335 条
- 1
- 2
- 3
- 4
- 5
- 6
- 34













