loadtester: set server write timeout

This commit is contained in:
stefanprodan
2020-03-30 11:13:10 +03:00
parent 388ad0400d
commit 3807a5019d
+1 -1
View File
@@ -342,7 +342,7 @@ func ListenAndServe(port string, timeout time.Duration, logger *zap.SugaredLogge
Addr: ":" + port,
Handler: mux,
ReadTimeout: 5 * time.Second,
WriteTimeout: 1 * time.Minute,
WriteTimeout: timeout,
IdleTimeout: 15 * time.Second,
}