1 instantiation of Heartbeat
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\KestrelServerImpl.cs (1)
88var heartbeat = new Heartbeat(
12 references to Heartbeat
Microsoft.AspNetCore.Server.Kestrel.Core (12)
Http2Limits.cs (4)
165if (value < Heartbeat.Interval && value != Timeout.InfiniteTimeSpan) 167throw new ArgumentOutOfRangeException(nameof(value), CoreStrings.FormatArgumentTimeSpanGreaterOrEqual(Heartbeat.Interval)); 190if (value < Heartbeat.Interval && value != Timeout.InfiniteTimeSpan) 192throw new ArgumentOutOfRangeException(nameof(value), CoreStrings.FormatArgumentTimeSpanGreaterOrEqual(Heartbeat.Interval));
Internal\Infrastructure\Heartbeat.cs (2)
30_timerThread = new Thread(state => ((Heartbeat)state!).TimerLoop()) 66_trace.LogError(0, ex, $"{nameof(Heartbeat)}.{nameof(OnHeartbeat)}");
Internal\Infrastructure\TimeoutControl.cs (1)
39_heartbeatIntervalTicks = Heartbeat.Interval.ToTicks(_timeProvider);
Internal\KestrelServerImpl.cs (2)
88var heartbeat = new Heartbeat( 93Heartbeat.Interval);
Internal\ServiceContext.cs (1)
30public Heartbeat Heartbeat { get; set; } = default!;
MinDataRate.cs (2)
26if (gracePeriod <= Heartbeat.Interval) 28throw new ArgumentOutOfRangeException(nameof(gracePeriod), CoreStrings.FormatMinimumGracePeriodRequired(Heartbeat.Interval.TotalSeconds));