diff --git a/cmd/manager/main.go b/cmd/manager/main.go index 0a2646c3..5234587d 100644 --- a/cmd/manager/main.go +++ b/cmd/manager/main.go @@ -159,10 +159,12 @@ func main() { catalogServer := server.Server{ Kind: "catalogs", Server: &http.Server{ - Addr: catalogServerAddr, - Handler: catalogdmetrics.AddMetricsToHandler(localStorage.StorageServerHandler()), - ReadTimeout: 5 * time.Second, - WriteTimeout: 10 * time.Second, + Addr: catalogServerAddr, + Handler: catalogdmetrics.AddMetricsToHandler(localStorage.StorageServerHandler()), + ReadTimeout: 5 * time.Second, + // TODO: Revert this to 10 seconds if/when the API + // evolves to have significantly smaller responses + WriteTimeout: 5 * time.Minute, }, ShutdownTimeout: &shutdownTimeout, }