mirror of
https://github.com/django-q2/django-q2.git
synced 2026-09-20 03:18:07 +08:00
Some added info on the sync option
This commit is contained in:
@@ -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
|
||||
------------------
|
||||
|
||||
Reference in New Issue
Block a user