From 02a4a4e4b632274a67768fc566b5e593ccac4f72 Mon Sep 17 00:00:00 2001 From: dovholuknf <46322585+dovholuknf@users.noreply.github.com> Date: Tue, 30 Jul 2024 06:57:08 -0400 Subject: [PATCH] if the tunneler goes down, it's notifying clients, not the monitor service --- ZitiUpdateService/UpdateService.cs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/ZitiUpdateService/UpdateService.cs b/ZitiUpdateService/UpdateService.cs index 9a675818..36b8a670 100644 --- a/ZitiUpdateService/UpdateService.cs +++ b/ZitiUpdateService/UpdateService.cs @@ -1009,16 +1009,6 @@ namespace ZitiUpdateService { if (svc.CleanShutdown) { //then this is fine and expected - the service is shutting down Logger.Info("client disconnected due to clean service shutdown"); - - MonitorServiceStatusEvent status = new MonitorServiceStatusEvent() { - Code = 0, - Error = "SERVICE DOWN", - Message = "SERVICE DOWN", - Status = ServiceActions.ServiceStatus(), - AutomaticUpgradeDisabled = CurrentSettings.AutomaticUpdatesDisabled.ToString(), - AutomaticUpgradeURL = CurrentSettings.AutomaticUpdateURL, - }; - EventRegistry.SendEventToConsumers(status); } else { Logger.Error("SERVICE IS DOWN and did not exit cleanly.");