This commit is contained in:
Jordan Brown
2018-08-18 15:23:09 -04:00
parent dab27eadc5
commit ebadfbd1d4
2 changed files with 6 additions and 2 deletions
@@ -549,9 +549,10 @@ namespace Tgstation.Server.Host.Components.Watchdog
}
else
moreActivationsToProcess = false;
await HandlerMonitorWakeup(activationReason, monitorState, cancellationToken).ConfigureAwait(false);
}
await HandlerMonitorWakeup(activationReason, monitorState, cancellationToken).ConfigureAwait(false);
//writeback alphaServer and bravoServer
alphaServer = AlphaIsActive ? monitorState.ActiveServer : monitorState.InactiveServer;
bravoServer = AlphaIsActive ? monitorState.ActiveServer : monitorState.InactiveServer;
@@ -575,7 +576,7 @@ namespace Tgstation.Server.Host.Components.Watchdog
monitorState = new MonitorState(); //clean the slate
}
await chatTask.ConfigureAwait(false);
await chatTask.ConfigureAwait(false);
if(!Running)
{
logger.LogWarning("Failed to automatically restart the watchdog! Alpha: {0}; Bravo: {1}", result.Alpha.ToString(), result.Bravo.ToString());
+3
View File
@@ -1,3 +1,6 @@
Verify the byond cache folder location on linux
Test watchdog
Only show user name and ID when serializing to API
In fact remove IApiConvertable<> altogether, it's not required by anything