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 cf2cfdc commit c73b649Copy full SHA for c73b649
internal/mcp/client/sse_client.go
@@ -149,8 +149,7 @@ func (w *SSEMCPClientWrapper) monitorErrors(ctx context.Context) {
149
if w.checkConnection(ctx) {
150
successfulChecks++
151
} else {
152
- successfulChecks = 0
153
- // Reset to faster health check interval on failure
+ // Reset health check interval on failure and trigger reconnect
154
w.healthCheckInterval = 1 * time.Second
155
ticker.Reset(w.healthCheckInterval)
156
0 commit comments