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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c415721abe2a4612b9e90d632627f782e8d821402c8c7d9f24aede8052142eda |
|
MD5 | 1f3b8c1f6a5f33de36cff295f091074e |
|
BLAKE2b-256 | e2e1bc0a49b27356b031955f8456cac98be9af45093f14cce9cb01e1305250a3 |
Close
Hashes for django_task_blocker-0.1.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74ca2efb8e2e7118e980e0e718dff4b6ab8887d5acb13fafacd6bb1a9d93281c |
|
MD5 | 1f709496b9749f94902a6f227aecb6d7 |
|
BLAKE2b-256 | 52e437c088999386979037019c9555b58c238e278d004db9b464b0864af166e8 |