mirror of
https://github.com/openfaas/faas.git
synced 2025-06-22 14:53:25 +00:00
Consolidate listen / timeout messages
This brings of-watchdog and the classic watchdog into sync. Signed-off-by: Alex Ellis <alexellis2@gmail.com>
This commit is contained in:
@ -60,7 +60,13 @@ func main() {
|
||||
}
|
||||
|
||||
httpMetrics := metrics.NewHttp()
|
||||
log.Printf("Read/write timeout: %s, %s. Port: %d\n", readTimeout, writeTimeout, config.port)
|
||||
|
||||
log.Printf("Timeouts: read: %s, write: %s hard: %s.\n",
|
||||
readTimeout,
|
||||
writeTimeout,
|
||||
config.execTimeout)
|
||||
log.Printf("Listening on port: %d\n", config.port)
|
||||
|
||||
http.HandleFunc("/_/health", makeHealthHandler())
|
||||
http.HandleFunc("/", metrics.InstrumentHandler(makeRequestHandler(&config), httpMetrics))
|
||||
|
||||
|
Reference in New Issue
Block a user