Celery v4.4.6 Documentationready() False You can wait for the result to complete, but this is rarely used since it turns the asynchronous call into a synchronous one: >>> result.get(timeout=1) 8 In case the task raised an exception local: TERM -> 64052 or stop it: $ celery multi stop w1 -A proj -l info The stop command is asynchronous so it won’t wait for the worker to shutdown. You’ll probably want to use the stopwait command "celery/result.py", line 221, in get return self.backend.wait_for_pending( File "celery/backends/asynchronous.py", line 195, in wait_for_pending return result.maybe_throw(callback=callback, propagate=propagate)0 码力 | 1216 页 | 1.44 MB | 1 年前3
Celery v4.4.7 Documentationready() False You can wait for the result to complete, but this is rarely used since it turns the asynchronous call into a synchronous one: >>> result.get(timeout=1) 8 In case the task raised an exception local: TERM -> 64052 or stop it: $ celery multi stop w1 -A proj -l info The stop command is asynchronous so it won’t wait for the worker to shutdown. You’ll probably want to use the stopwait command "celery/result.py", line 221, in get return self.backend.wait_for_pending( File "celery/backends/asynchronous.py", line 195, in wait_for_pending return result.maybe_throw(callback=callback, propagate=propagate)0 码力 | 1219 页 | 1.44 MB | 1 年前3
Celery v4.4.5 Documentationready() False You can wait for the result to complete, but this is rarely used since it turns the asynchronous call into a synchronous one: >>> result.get(timeout=1) 8 In case the task raised an exception local: TERM -> 64052 or stop it: $ celery multi stop w1 -A proj -l info The stop command is asynchronous so it won’t wait for the worker to shutdown. You’ll probably want to use the stopwait command "celery/result.py", line 221, in get return self.backend.wait_for_pending( File "celery/backends/asynchronous.py", line 195, in wait_for_pending return result.maybe_throw(callback=callback, propagate=propagate)0 码力 | 1215 页 | 1.44 MB | 1 年前3
Celery 4.4.3 Documentationready() False You can wait for the result to complete, but this is rarely used since it turns the asynchronous call into a synchronous one: >>> result.get(timeout=1) 8 In case the task raised an exception local: TERM -> 64052 or stop it: $ celery multi stop w1 -A proj -l info The stop command is asynchronous so it won’t wait for the worker to shutdown. You’ll probably want to use the stopwait command "celery/result.py", line 221, in get return self.backend.wait_for_pending( File "celery/backends/asynchronous.py", line 195, in wait_for_pending return result.maybe_throw(callback=callback, propagate=propagate)0 码力 | 1209 页 | 1.44 MB | 1 年前3
Celery 4.4.1 Documentationready() False You can wait for the result to complete, but this is rarely used since it turns the asynchronous call into a synchronous one: >>> result.get(timeout=1) 8 In case the task raised an exception local: TERM -> 64052 or stop it: $ celery multi stop w1 -A proj -l info The stop command is asynchronous so it won’t wait for the worker to shutdown. You’ll probably want to use the stopwait command "celery/result.py", line 221, in get return self.backend.wait_for_pending( File "celery/backends/asynchronous.py", line 195, in wait_for_pending return result.maybe_throw(callback=callback, propagate=propagate)0 码力 | 1188 页 | 1.42 MB | 1 年前3
Celery 4.4.2 Documentationready() False You can wait for the result to complete, but this is rarely used since it turns the asynchronous call into a synchronous one: >>> result.get(timeout=1) 8 In case the task raised an exception local: TERM -> 64052 or stop it: $ celery multi stop w1 -A proj -l info The stop command is asynchronous so it won’t wait for the worker to shutdown. You’ll probably want to use the stopwait command "celery/result.py", line 221, in get return self.backend.wait_for_pending( File "celery/backends/asynchronous.py", line 195, in wait_for_pending return result.maybe_throw(callback=callback, propagate=propagate)0 码力 | 1188 页 | 1.42 MB | 1 年前3
Celery v4.4.4 Documentationready() False You can wait for the result to complete, but this is rarely used since it turns the asynchronous call into a synchronous one: >>> result.get(timeout=1) 8 In case the task raised an exception local: TERM -> 64052 or stop it: $ celery multi stop w1 -A proj -l info The stop command is asynchronous so it won’t wait for the worker to shutdown. You’ll probably want to use the stopwait command "celery/result.py", line 221, in get return self.backend.wait_for_pending( File "celery/backends/asynchronous.py", line 195, in wait_for_pending return result.maybe_throw(callback=callback, propagate=propagate)0 码力 | 1215 页 | 1.44 MB | 1 年前3
Celery 4.4.0 Documentationready() False You can wait for the result to complete, but this is rarely used since it turns the asynchronous call into a synchronous one: >>> result.get(timeout=1) 8 In case the task raised an exception local: TERM -> 64052 or stop it: $ celery multi stop w1 -A proj -l info The stop command is asynchronous so it won’t wait for the worker to shutdown. You’ll probably want to use the stopwait command inefficient, and may even cause a deadlock if the worker pool is exhausted. Make your design asynchronous instead, for example by using callbacks. Bad: @app.task def update_page_info(url): page0 码力 | 1185 页 | 1.42 MB | 1 年前3
Celery v4.3.0 Documentationready() False You can wait for the result to complete, but this is rarely used since it turns the asynchronous call into a synchronous one: >>> result.get(timeout=1) 8 In case the task raised an exception local: TERM -> 64052 or stop it: $ celery multi stop w1 -A proj -l info The stop command is asynchronous so it won’t wait for the worker to shutdown. You’ll probably want to use the stopwait command inefficient, and may even cause a deadlock if the worker pool is exhausted. Make your design asynchronous instead, for example by using callbacks. Bad: @app.task def update_page_info(url): page0 码力 | 1174 页 | 1.41 MB | 1 年前3
Celery v5.0.1 Documentationready() False You can wait for the result to complete, but this is rarely used since it turns the asynchronous call into a synchronous one: >>> result.get(timeout=1) 8 In case the task raised an exception local: TERM -> 64052 or stop it: $ celery multi stop w1 -A proj -l INFO The stop command is asynchronous so it won’t wait for the worker to shutdown. You’ll probably want to use the stopwait command "celery/result.py", line 221, in get return self.backend.wait_for_pending( File "celery/backends/asynchronous.py", line 195, in wait_for_pending return result.maybe_throw(callback=callback, propagate=propagate)0 码力 | 2313 页 | 2.13 MB | 1 年前3
共 51 条
- 1
- 2
- 3
- 4
- 5
- 6













