mirror of
https://github.com/openziti/desktop-edge-win.git
synced 2026-09-25 12:22:09 +00:00
if the tunneler goes down, it's notifying clients, not the monitor service
This commit is contained in:
@@ -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.");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user