Skip to content

Commit

Permalink
Merge pull request #34 from moonstream-to/support-long-cr-uploads
Browse files Browse the repository at this point in the history
Supports long call_request list uploads
  • Loading branch information
kompotkot authored Apr 25, 2024
2 parents ba363a0 + bf55548 commit 40e826e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions sample.env
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ export BUGOUT_ACCESS_TOKEN="<user_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=""
4 changes: 2 additions & 2 deletions server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 40e826e

Please sign in to comment.