You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
HeartbeatSlow trace is called with incorrect arguments order #28660
Kestrel: As of "00:00:02.3507376", the heartbeat has been running for "00:00:01" which is longer than "12/15/2020 07:02:37 +00:00". This could be caused by thread pool starvation.
The order of the arguments is incorrect.
In file src/Servers/Kestrel/Core/src/Internal/Infrastructure/KestrelTrace.cs:
private static readonly Action<ILogger, TimeSpan, TimeSpan, DateTimeOffset, Exception?> _heartbeatSlow =
LoggerMessage.Define<TimeSpan, TimeSpan, DateTimeOffset>(LogLevel.Warning, new EventId(22, "HeartbeatSlow"), @"As of ""{now}"", the heartbeat has been running for ""{heartbeatDuration}"" which is longer than ""{interval}"". This could be caused by thread pool starvation.");
is defined with order "now, heartbeatDuration, interval"
Activity
BrennanConroy commentedon Jan 8, 2021
Done via #28698