From 46c439f909f9e69cf835a2d2d3d3d213ce458ee8 Mon Sep 17 00:00:00 2001 From: Ilan Steemers Date: Thu, 9 Jul 2015 20:47:20 +0200 Subject: [PATCH] Some added info on the sync option --- docs/tasks.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/tasks.rst b/docs/tasks.rst index f7f9696..de83f58 100644 --- a/docs/tasks.rst +++ b/docs/tasks.rst @@ -48,7 +48,11 @@ The task will then be injected straight into a worker and the result saved by a if not task.success: print('An error occurred: {}'.format(task.result)) -Note that :func:`async` will block until the task is executed and saved. This feature is intended for debugging and development. +.. code:: bash + + An error occurred: ImportError("No module named 'my'",) + +Note that :func:`async` will block until the task is executed and saved. This feature bypasses the Redis server and is intended for debugging and development. Connection pooling ------------------