Sergeant

Latest version: v0.26.1

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

Scan your dependencies

Page 4 of 6

0.18.1

- process killer now kills and waits for child processes that were spawned by the process to kill

0.18.0

<h1>Change list</h1>

- <b>Timeouts mechanism overhaul</b>:
- Removed `soft_timeout`/`hard_timeout` configurations in favor of just `timeout`
- Removed `critical_timeout` in favor of a defaulted `grace_period`. The rationale was that nobody understood what is the meaning of "critical" timeout. The idea of the critical timeout was to allow the last resort option of killing the worker in cases where SIGTERM did not succeed. I find `grace_period` to be more convenient and intuitive.

<h1>Breaking Changes:</h1>

- Sergeant Timeouts config does not provide `soft_timeout`, `hard_timeout` and `critical_timeout` anymore. They were replaced with `timeout` and `grace_period`

0.17.4

- fixed a bug when the process killer was killing the worker while it was still running

0.17.3

- 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

0.17.2

- `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.

0.17.1

- fix: log_to_stdout was not respected
- fix: slave can not hang now due to stderr buffer getting full

Page 4 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.