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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e81918dc8c624e98b3a0185fdb77e13cc40709f11e9c3ea8aa08a801a3d5a13d |
|
MD5 | 028caeca958389c901f3d782c78fa75c |
|
BLAKE2b-256 | 2273c484183057f15571b51563e48d5a120887764b346ea96a73cfcd7c360c84 |
Close
Hashes for django_task_blocker-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41cdf780345f819c26d4ddd8e788418516a038d86d84f73437bf8feae2f756aa |
|
MD5 | 3d712ef4e96b26660bfe6614ab960308 |
|
BLAKE2b-256 | 2f5d177dae21a2c69bd2e58e2a9c2e7be83377cac459ad515c37edd727894f9d |