Skip to content

2.0.0

Compare
Choose a tag to compare
@cameronmaske cameronmaske released this 26 Apr 08:54
· 23 commits to master since this release
17b8114

Major Release:

This changes the Redis backend to use a SETNX-based lock (RedLock). This should address race conditions that the previous approach had (See: #7, #60).

This may not be backwards compatible with existing keys stored in Redis.
If you are upgrading from 1.0.0, it may be safer to remove any previous used lock keys (See #67 (comment) for instructions).

Other changes include:

- Able to run on blocking mode when scheduling tasks with Redis backend. See the README for more details.

- ``AlreadyQueued`` exception return's countdown seconds as `float` instead of `int`.

Big thanks to @grjones for his contributions for this patch.