Skip to content

Commit a147cfd

Browse files
committed
Set GracefulShutdownTimeout to 1 hour, as default is 30 seconds.
1 parent 6c29f29 commit a147cfd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ServiceControl.RavenDB/EmbeddedDatabase.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ public static EmbeddedDatabase Start(EmbeddedDatabaseConfiguration databaseConfi
6666
Logger.InfoFormat("Loading RavenDB license from {0}", licenseFileNameAndServerDirectory.LicenseFileName);
6767
var serverOptions = new ServerOptions
6868
{
69+
GracefulShutdownTimeout = TimeSpan.FromHours(1), // During Stop/Dispose we manually control this
6970
CommandLineArgs =
7071
[
7172
$"--Logs.Mode={databaseConfiguration.LogsMode}",

0 commit comments

Comments
 (0)