healthcheck
healthcheck copied to clipboard
use request context in http handler
The handler uses context.Background()
in the http handler. If the client (calling service) drop the connection, the processing will continue till an error occur when the handler tries to write a response.
Makes sense.
Hi @sjiekak, feel free to open a PR to address this.