1 instantiation of Heartbeat
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\KestrelServerImpl.cs (1)
88
var heartbeat = new
Heartbeat
(
12 references to Heartbeat
Microsoft.AspNetCore.Server.Kestrel.Core (12)
Http2Limits.cs (4)
165
if (value <
Heartbeat
.Interval && value != Timeout.InfiniteTimeSpan)
167
throw new ArgumentOutOfRangeException(nameof(value), CoreStrings.FormatArgumentTimeSpanGreaterOrEqual(
Heartbeat
.Interval));
190
if (value <
Heartbeat
.Interval && value != Timeout.InfiniteTimeSpan)
192
throw 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)
88
var
heartbeat = new Heartbeat(
93
Heartbeat
.Interval);
Internal\ServiceContext.cs (1)
30
public
Heartbeat
Heartbeat { get; set; } = default!;
MinDataRate.cs (2)
26
if (gracePeriod <=
Heartbeat
.Interval)
28
throw new ArgumentOutOfRangeException(nameof(gracePeriod), CoreStrings.FormatMinimumGracePeriodRequired(
Heartbeat
.Interval.TotalSeconds));