1 write to ShutdownTimeout
Microsoft.Extensions.Hosting (1)
HostOptions.cs (1)
68
ShutdownTimeout
= TimeSpan.FromSeconds(seconds);
6 references to ShutdownTimeout
Aspire.Hosting.Testing (1)
DistributedApplicationFactory.cs (1)
172
_shutdownTimeout = application.Services.GetService<IOptions<HostOptions>>()?.Value.
ShutdownTimeout
?? _shutdownTimeout;
Microsoft.Extensions.Hosting (3)
Internal\ConsoleLifetime.netcoreapp.cs (1)
47
Thread.Sleep(HostOptions.
ShutdownTimeout
);
Internal\Host.cs (2)
233
if (_options.
ShutdownTimeout
!= Timeout.InfiniteTimeSpan)
236
cts.CancelAfter(_options.
ShutdownTimeout
);
Microsoft.Extensions.Hosting.WindowsServices (2)
WindowsServiceLifetime.cs (2)
156
_delayStop.Wait(_hostOptions.
ShutdownTimeout
);
172
_delayStop.Wait(_hostOptions.
ShutdownTimeout
);