Skip to content

Releases: thread/django-lightweight-queue

v4.4.0

09 Dec 11:11
Compare
Choose a tag to compare

Introduces commands to pause and resume queues with deadlines. Currently this is supported by the Redis backends.
While a queue is paused no jobs will be processed; if you want jobs to be dropped while the queue is paused you will need to clear the queue manually before it resumes.

This resale also updates the linters used to their latest versions and consequently now requires at least Python 3.6.1 (up from 3.6).

v4.3.2

15 Nov 16:28
Compare
Choose a tag to compare

Clarify that insertion ordering is preserved when bulk enqueueing.

v4.3.1

10 Nov 18:52
Compare
Choose a tag to compare

Fixes overriding of target queue for singly-enqueued tasks

This was a regression in v4.3.0.

v4.3.0

10 Nov 17:13
Compare
Choose a tag to compare

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:

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

This is equivalent to:

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

v4.2.0

10 Nov 17:11
2c67eb1
Compare
Choose a tag to compare

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

v4.1.1

04 Oct 15:21
Compare
Choose a tag to compare

Fix queue_configurations not outputting cron details

v4.1.0

22 Sep 15:31
Compare
Choose a tag to compare

Adds type annotations.

v3.0.3

19 Feb 17:14
ac92fe8
Compare
Choose a tag to compare
Bump

v3.0.1

27 Jan 11:39
f1be37d
Compare
Choose a tag to compare
Add readme to PyPI

v3.0.0

27 Jan 11:35
7d99849
Compare
Choose a tag to compare
Now unused