Function forest_filecoin::health::init_healthcheck_server
source ยท pub(crate) async fn init_healthcheck_server(
forest_state: ForestState,
tcp_listener: TcpListener,
) -> Result<()>
Expand description
Initializes the healthcheck server. The server listens on the address specified in the configuration (passed via state) and responds to the following endpoints:
[endpoints::healthz]
[endpoints::readyz]
[endpoints::livez]
All endpoints accept an optional verbose
query parameter. If present, the response will include detailed information about the checks performed.