Celery-once

Latest version: v3.0.1

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

Scan your dependencies

Page 2 of 3

2.0.0

-----

2018-04-25

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 https://github.com/cameronmaske/celery-once/pull/67issuecomment-384281438 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.

1.3.0

-----

2018-04-25

- Fixed an issue where tasks with autoretry_for got into a locked state (58). Thanks andbortnik.

1.2.0

-----

2017-06-12

- Cache the redis connection, instead of reinstantaiting one after each task execution (34, 47). Thanks brouberol.

1.1.0

-----

2017-06-12

- Exclude test files from package.
- Use relative import to import Redis backend. 52
- Correctly set `default_timeout` from settings. 53 54 (Thanks Snake575)

1.0.2

-----

2017-06-06

- Fixed an issue where retrying tasks would check for the lock on re-run (and error out). Thanks lackita for the fix (37, 48).

1.0.1

-----

2017-06-06

- Added support to connect to Redis over sockets. Thanks brouberol (33, 49)

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.