We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2216c16 commit 2318123Copy full SHA for 2318123
1 file changed
cmd/server.go
@@ -4,6 +4,7 @@ import (
4
"log"
5
"net/http"
6
"os"
7
+ "time"
8
9
"github.com/mark3labs/mcp-go/server"
10
"github.com/render-oss/render-mcp-server/pkg/authn"
@@ -70,8 +71,9 @@ func Serve(transport string) *server.MCPServer {
70
71
}
72
73
httpServer := &http.Server{
- Addr: ":10000",
74
- Handler: mux,
+ Addr: ":10000",
75
+ Handler: mux,
76
+ ReadTimeout: 5 * time.Second,
77
78
err := httpServer.ListenAndServe()
79
if err != nil {
0 commit comments