Skip to content

Commit 344b31c

Browse files
Update src/ServiceControl/Infrastructure/Settings/Settings.cs
Co-authored-by: Ramon Smits <[email protected]>
1 parent abe0d9a commit 344b31c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/ServiceControl/Infrastructure/Settings/Settings.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,9 @@ public TimeSpan HeartbeatGracePeriod
182182
public bool DisableHealthChecks { get; set; }
183183

184184
// The default value is set to the maximum allowed time by the most restrictive
185-
// hosting platform, which Docker Linux containers.
186-
public TimeSpan ShutdownTimeout { get; set; } = TimeSpan.FromSeconds(10);
185+
// hosting platform, which Docker Linux containers minus a few seconds
186+
// to actually allow for cancellation and logging to take place
187+
public TimeSpan ShutdownTimeout { get; set; } = TimeSpan.FromSeconds(5);
187188

188189
public string GetConnectionString()
189190
{

0 commit comments

Comments
 (0)