Datasette-scale-to-zero

Latest version: v0.3.1

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

Scan your dependencies

0.3.1

- Loosened validation requirements for `"shutdown_url"` to support configuring it via an environment variable that might be blank. [7](https://github.com/simonw/datasette-scale-to-zero/issues/7)

0.3

- New mechanism for optionally sending an HTTP request when the server shuts down, controlled by the configuration options `shutdown_url` and `shutdown_method` and `shutdown_headers` and `shutdown_body`. [5](https://github.com/simonw/datasette-scale-to-zero/issues/5)
- Renamed `max-age` to `max_age` (though the old name still works). [6](https://github.com/simonw/datasette-scale-to-zero/issues/6)

0.2

- New `"max-age": "10h"` configuration setting, which causes the server to exit after the specified amount of time whether or not it has received any traffic. [3](https://github.com/simonw/datasette-scale-to-zero/issues/3)

0.1.2

- No longer logs a traceback on server exit. [2](https://github.com/simonw/datasette-scale-to-zero/issues/2)

0.1.1

- Reduced log output when server exits. [2](https://github.com/simonw/datasette-scale-to-zero/issues/2)

0.1

- Initial release. Can be configured to cause Datasette to exit if it has not received traffic in a specified time period. [1](https://github.com/simonw/datasette-scale-to-zero/issues/1)

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.