File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
ModelContextProtocol.AspNetCore
ModelContextProtocol.Core Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -66,9 +66,9 @@ public class HttpServerTransportOptions
6666 /// Past this limit, the server will log a critical error and terminate the oldest idle sessions even if they have not reached
6767 /// their <see cref="IdleTimeout"/> until the idle session count is below this limit. Clients that keep their session open by
6868 /// keeping a GET request open will not count towards this limit.
69- /// Defaults to 100 ,000 sessions.
69+ /// Defaults to 10 ,000 sessions.
7070 /// </remarks>
71- public int MaxIdleSessionCount { get ; set ; } = 100_000 ;
71+ public int MaxIdleSessionCount { get ; set ; } = 10_000 ;
7272
7373 /// <summary>
7474 /// Used for testing the <see cref="IdleTimeout"/>.
Original file line number Diff line number Diff line change @@ -736,7 +736,7 @@ private static TimeSpan GetElapsed(long startingTimestamp) =>
736736 [ LoggerMessage ( Level = LogLevel . Warning , Message = "{EndpointName} method '{Method}' request handler failed." ) ]
737737 private partial void LogRequestHandlerException ( string endpointName , string method , Exception exception ) ;
738738
739- [ LoggerMessage ( Level = LogLevel . Information , Message = "{EndpointName} received request for unknown request ID '{RequestId}'." ) ]
739+ [ LoggerMessage ( Level = LogLevel . Information , Message = "{EndpointName} received message for unknown request ID '{RequestId}'." ) ]
740740 private partial void LogNoRequestFoundForMessageWithId ( string endpointName , RequestId requestId ) ;
741741
742742 [ LoggerMessage ( Level = LogLevel . Warning , Message = "{EndpointName} request failed for method '{Method}': {ErrorMessage} ({ErrorCode})." ) ]
You can’t perform that action at this time.
0 commit comments