Skip to content

Commit 26d7343

Browse files
authored
Set IdleTimeout to 30 seconds for transport options
1 parent 62c681f commit 26d7343

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dotnet/src/dotnetcore/GxNetCoreStartup/Startup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ public void ConfigureServices(IServiceCollection services)
300300
{
301301
// SSE endpoints (/sse, /message) require STATEFUL sessions to support server-to-client push
302302
transportOptions.Stateless = false;
303-
transportOptions.IdleTimeout = TimeSpan.FromSeconds();
303+
transportOptions.IdleTimeout = TimeSpan.FromSeconds(30);
304304
GXLogging.Debug(log, "MCP HTTP Transport configured: Stateless=false (SSE enabled), IdleTimeout=10min");
305305
});
306306

0 commit comments

Comments
 (0)