Skip to content

Commit eb64d3f

Browse files
committed
fix withTimeout param
1 parent 89bf4a2 commit eb64d3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/sse.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ func (c *SSEMCPClient) readSSE(reader io.ReadCloser) {
128128
br := bufio.NewReader(reader)
129129
var event, data string
130130

131-
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
131+
ctx, cancel := context.WithTimeout(context.Background(), c.sseReadTimeout)
132132
defer cancel()
133133

134134
for {

0 commit comments

Comments
 (0)