diff --git a/sample.env b/sample.env index 0af2552..aa6f604 100644 --- a/sample.env +++ b/sample.env @@ -5,3 +5,4 @@ export BUGOUT_ACCESS_TOKEN="" # Server related environment variables export WAGGLE_CORS_ALLOWED_ORIGINS="http://localhost:3000,https://moonstream.to,https://portal.moonstream.to,https://www.moonstream.to" +export MOONSTREAM_APPLICATION_ID="" diff --git a/server.go b/server.go index 6b0bd3c..de6a5be 100644 --- a/server.go +++ b/server.go @@ -484,8 +484,8 @@ func (server *Server) Serve() error { s := http.Server{ Addr: fmt.Sprintf("%s:%d", server.Host, server.Port), Handler: commonHandler, - ReadTimeout: 40 * time.Second, - WriteTimeout: 40 * time.Second, + ReadTimeout: 180 * time.Second, + WriteTimeout: 180 * time.Second, } log.Printf("Starting node load balancer HTTP server at %s:%d", server.Host, server.Port)