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.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 345b328264f82a3d870c1dd35bbc6f970fd7fc5c02c348e731c721e1def76bbb |
|
MD5 | 1bf52174d0b158352a196e1d835745ed |
|
BLAKE2b-256 | 42a82ae3d9531e1cabfc4e21c77cb0883b0ce83c9150eb8eb25f0992dbeeeb30 |
Close
Hashes for django_task_blocker-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a990c28ac413375fb8a05af62f5cd0b3ee3653003af680e1c89fe9b4c8968816 |
|
MD5 | 0f86d462e7a0e0003f4e347252dcc14f |
|
BLAKE2b-256 | 1e2a524a37833dc6f87079ceed604e64363493cb14bd30637209cd0c5182f62d |