- Worker now chooses the right connector statically rather than comparing with the `name` attribute. This allows to mock the connector object in tests. - A few mypy linting errors were fixed. There is one more error which is a bug
0.22.2
- Added supervisor's SIGTERM handler to support graceful shutdown - Updated the requirements.txt file to support redis of version higher than 3 - Updated the pyproject.toml file to include mypy and pytest configuration - Fixed some new mypy linting errors - Updated pre-commit versions
0.22.1
- Fixed the response of push_task[s] on Redis connector - Added Python 3.10 support
0.22.0
- Fix: using Redis `single_connection_client` flag makes it not thread safe and can cause unexpected behaviour under threaded workers - Hiredis is upgraded to use version 2.0
0.21.1
- Fix BufferedLogstashHandler not respecting `chunk_size` and `max_store_time`. (Thanks to Amir-Yaffe-Intsights for reporting the bug)
0.21.0
- Introduced a new logging handler called `BufferedLogstashHandler` to control the number of connections and log messages the logger creates.