Skip to content

Releases: Intsights/sergeant

v0.17.4

12 Jan 17:38
Compare
Choose a tag to compare
  • fixed a bug when the process killer was killing the worker while it was still running

v0.17.3

11 Jan 13:31
Compare
Choose a tag to compare
  • fixed a bug when the process killer hanged waiting for the watched process to interact when it was abruptly dead
  • increase verbosity on supervised worker unexpected startup failure

v0.17.2

10 Jan 13:52
Compare
Choose a tag to compare
  • LogstashHandler did not define any timeout which caused connectivity problems to raise timeout exceptions after a lot of time. This behavior made bad Logstash connections slowing down workers tremendously.

v0.17.1

30 Nov 17:12
Compare
Choose a tag to compare
  • fix: log_to_stdout was not respected
  • fix: slave can not hang now due to stderr buffer getting full

v0.17.0

29 Nov 16:42
Compare
Choose a tag to compare

This is a major release fixing and improving many problems.

  • Thread killers were replaced with one thread killer per as many threads as needed. It makes the threaded executor faster, slimmer, and simpler.
  • Slave's process stderr is connected to the supervisor so it will have the chance to pipe its stderr in case of an unexpected exception in the slave's logic itself. The buffer was able to stall the slave's process because no process was cleaning its buffer. It is now configured to be unbuffered wishing it will fix the bug.
  • There was a typo in threaded executor causing it to raise an exception after the completion of all the tasks.
  • Requirements versions are now fixed
  • Stop/Respawn can now be called in initialize/finalize

Breaking Changes:

  • Worker config executor parameter was removed in favor of number_of_threads. See the documentation for how to choose the number.
  • LogstashLogger was logging a "logger" field nested with name and level. These are now "name" and "level" in the parent document of the log.

v0.16.1

05 Nov 14:49
Compare
Choose a tag to compare
  • now every Redis connection holds a single connection resulted in a faster communication

v0.16.0

05 Nov 13:05
3a5b85f
Compare
Choose a tag to compare
  • rename consumable_only to include_delayed to make this parameter clearer and more intuitive
  • replace process killer from using udpserver to pipe - improved memory usage and more safe
  • Redis connector performance improvements due to regressions from the previous version

v0.15.2

01 Nov 16:55
Compare
Choose a tag to compare
  • added Python 3.9 support!
  • fix: supervisor took stderr from the slave denying it from displaying
    its errors to the terminal

v0.15.1

07 Oct 09:12
Compare
Choose a tag to compare
  • supervisor now collects stderr from the slave
  • supervisor now report on slaves that were interrupted by signals like
    SIGINT
  • fixed a bug when using the memory limiting feature of the supervisor
  • slave's exception now propagated to the supervisor
  • supervisor duplicate logs were merged
  • supervisor tests were added
  • mypy linting fixes
  • isort fixes

Version V0.15.0

18 Jun 22:58
Compare
Choose a tag to compare
  • added support for delayed tasks