Blocking the re-launch of a task until it is completed, or until the lock timeout is completed.
Project description
Celery Task
@app.task
@block_task(timeout_limit=180)
def task_example():
result = example_function()
return result
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for django_task_blocker-0.1.3.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | aced9bff3d2532637f535fe18daf9747c1812082ff21bc6103d8f0eec5e55177 |
|
MD5 | 9d48755d676d790a2330626ce4e729f2 |
|
BLAKE2b-256 | 3454855ec987c1502d48316d849e6f401421b767132586d519388cdc4986c72b |
Close
Hashes for django_task_blocker-0.1.3.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15eda8eca1a8cb1923a04c77ce6e3c85870a941f8a91d071454624a0369bfe3e |
|
MD5 | 4667994e30c386de624a28c99c5b1d73 |
|
BLAKE2b-256 | 6c4af37e5597624355bd40c7eaedc4e824145008265ecf83971be47b0e20562e |