Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_task_blocker-0.1.3.4.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

django_task_blocker-0.1.3.4-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file django_task_blocker-0.1.3.4.tar.gz.

File metadata

  • Download URL: django_task_blocker-0.1.3.4.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.12.7 Linux/6.5.0-1025-azure

File hashes

Hashes for django_task_blocker-0.1.3.4.tar.gz
Algorithm Hash digest
SHA256 3d993dbf200c738f66d33731226b2f8ac3436851e2363bf4920c703613a76ee1
MD5 478769e0357bad4b6874379b0a48dc55
BLAKE2b-256 954278d3237609aed0b872bca68f0fc370daab3ebe7bcac63d4651c4320b1be1

See more details on using hashes here.

File details

Details for the file django_task_blocker-0.1.3.4-py3-none-any.whl.

File metadata

File hashes

Hashes for django_task_blocker-0.1.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3552190e4b56bead1860513272c58bf5970b512d270ed54c4ae0b4b1d7d27097
MD5 c58eef7fbe7f41a5ed1452388e9f4b03
BLAKE2b-256 ed0984549b3fb8a546d0aeee109e6d92274347161b7a56ee0846730b74a58596

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page