lpdeal: Use serialization retry option

This commit is contained in:
Łukasz Magiera
2024-02-20 13:17:29 +01:00
parent 94a31c6db6
commit f2ebde4d10
3 changed files with 3 additions and 3 deletions
+1 -2
View File
@@ -565,9 +565,8 @@ var lpBoostProxyCmd = &cli.Command{
server := &http.Server{
Addr: cctx.String("listen"),
Handler: mux,
ReadTimeout: 15 * time.Second,
ReadTimeout: 48 * time.Hour,
WriteTimeout: 48 * time.Hour, // really high because we block until TreeD
IdleTimeout: 60 * time.Second,
}
return server.ListenAndServe()