David Caro (2024-02-29 13:57):
[...]
The most interesting feature though is being able to pass a url to use as HTTP
health check.
To do so you can pass `--health-check-url /path/to/health` to your `toolforge
webservice start` command, and toolforge will automatically restart your
webservice if it stops responding to that path (you can change the path to
whatever you want, ex. `/`).
By "if it stops responding" you mean stops responding with HTTP status
200? Or stops responding with non-zero bytes of content? Or...? :)
Cheers,
Maciej Nux
_______________________________________________
Cloud mailing list -- cloud@lists.wikimedia.org
List information:
https://lists.wikimedia.org/postorius/lists/cloud.lists.wikimedia.org/