Django-lightweight-queue

Latest version: v4.11.0

Safety actively analyzes 687918 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 4

4.3.1

Fixes overriding of target queue for singly-enqueued tasks

This was a regression in v4.3.0.

4.3.0

Support bulk enqueueing of jobs

Adds a new API `task.bulk_enqueue` which supports enqueueing jobs in bulk. It is up to each backend to support this -- the default behaviour falls back to individual enqueueing of the jobs in a loop. Currently this is only any more efficient when using the Redis backends (where each batch becomes a single `LPUSH` operation).

Usage looks like this:

python
with my_task.bulk_enqueue() as enqueue:
enqueue(the_ids=[42, 43])
enqueue(the_ids=[45, 46])


This is equivalent to:

python
my_task(the_ids=[42, 43])
my_task(the_ids=[45, 46])

4.2.0

Adds a new setting `LIGHTWEIGHT_QUEUE_REDIS_PASSWORD` for Redis connections which need a password.

4.1.1

Fix queue_configurations not outputting cron details

4.1.0

Adds type annotations.

3.0.3

Page 3 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.