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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51b41e4aa8f82337900ca6437b37a447285fa387cd94bc244ab66f5b4c88ed3a |
|
MD5 | 414ca6cd3c4cb58d2b1cae734a937ad7 |
|
BLAKE2b-256 | c2efff40760a198f45b4746614669cd1006e3e634c2196c2a0ada9b2ab3c484d |
Close
Hashes for django_task_blocker-0.1.3.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7321a32a5d5d808b507c2a4e17c96fae94e8a96c18d9c2e8479d69f54e89156e |
|
MD5 | c80772c79876ed9b30201ac7a448a26d |
|
BLAKE2b-256 | 5574faddfb4607f940645eeee82ecac8857c43d235eed1fa1e7a327fa756cfc4 |