Some added info on the sync option

This commit is contained in:
Ilan Steemers
2015-07-09 20:47:20 +02:00
parent dfd36e1b39
commit 46c439f909

View File

@@ -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
------------------