Skip to content
Snippets Groups Projects
Commit 40dbede0 authored by Vivek Singh's avatar Vivek Singh Committed by Alex Ellis
Browse files

Reduce timeout value metrics server to 5 second


Signed-off-by: default avatarVivek Singh <vivekkmr45@yahoo.in>
parent 54eda5ec
No related branches found
No related tags found
No related merge requests found
......@@ -235,8 +235,8 @@ func runMetricsServer() {
router.HandleFunc("/healthz", healthzHandler)
port := 8082
readTimeout := time.Duration(30) * time.Second
writeTimeout := time.Duration(30) * time.Second
readTimeout := time.Duration(5) * time.Second
writeTimeout := time.Duration(5) * time.Second
s := &http.Server{
Addr: fmt.Sprintf(":%d", port),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment