Releases: distributed-system-analysis/state-signals
v1.0.1 Early Responder Listening
Start passive SignalResponder listening on object creation to remove any potential lost-message gap between creation and active listening.
v1.0.0 Added RPMs and existing redis connection support
state-signals is now available via PyPI package or RPM
also added new feature of passing existing redis connection objects into SignalExporter/SignalResponder instead of having to specify host/port
v0.5.2 Adding -1 timeout disable
Setting timeouts to -1 now disables them.
v0.5.1 SignalExporter.subs bug fix
Changed SignalExporter.subs from a list to a set to avoid an initialize_and_wait bug where periodic=True would stop waiting early due to duplicate subscribers increasing the count.
v0.5.0 Robustness Improvements
Allows awaiting/retrying initial redis server connections, periodically re-sending initialization messages while awaiting subscribers, and other minor bug fixes and improvements.
v0.4.0 Optional Messages in Responses
Added the ability to include an optional message string for additional detail when responding to a state signal.
v0.3.0 New initialize_and_wait
Added new method initialize_and_wait() to the SignalExporter, to allow for a count of subs to await after invocation of initialize().
v0.2.2 tag/id lock bug fix
Fixed a bug where SignalResponder could not properly lock onto ids/tags
v0.2.1 Enum -> IntEnum and Testing Update
- Changed
ResultCodes
fromEnum
toIntEnum
to better match intended functionality - Also added a much more robust testing and format-checking setup, with development directions in README.
v0.2.0 Feedback Updates Applied
Adds two new methods to the SignalResponder class:
srespond
: Allows the user directly pass in a signal to respond tounlock
: Allows the user to release locks on any tags/publishe_ids