We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 599b508 commit 9c0ab38Copy full SHA for 9c0ab38
src/ServiceControl/Infrastructure/Settings/Settings.cs
@@ -181,10 +181,9 @@ public TimeSpan HeartbeatGracePeriod
181
182
public bool DisableHealthChecks { get; set; }
183
184
- // Windows services allow a maximum of 125 seconds when stopping a service.
185
- // When shutting down or restarting the OS we have no control over the
186
- // shutdown timeout
187
- public TimeSpan ShutdownTimeout { get; set; } = TimeSpan.FromMinutes(2);
+ // The default value is set to the maximum allowed time by the most restrictive
+ // hosting platform, which Docker Linux containers.
+ public TimeSpan ShutdownTimeout { get; set; } = TimeSpan.FromSeconds(10);
188
189
public string GetConnectionString()
190
{
0 commit comments