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.
GracefulShutdownTimeout
1 parent 9a9d4ab commit f41f69bCopy full SHA for f41f69b
src/ServiceControl.RavenDB/EmbeddedDatabase.cs
@@ -221,6 +221,8 @@ public void Dispose()
221
222
if (EmbeddedServer.Instance != null)
223
{
224
+ // Set GracefulShutdownTimeout to Zero and exist ASAP, under normal operation instance would already
225
+ // have been allowed to gracefully stop during "Stop" method.
226
serverOptions!.GracefulShutdownTimeout = TimeSpan.Zero;
227
Logger.Debug("Disposing RavenDB server");
228
EmbeddedServer.Instance.Dispose();
0 commit comments