Преглед на файлове

experimenting with recursive update

reid преди 2 години
родител
ревизия
6b4e8723ff
променени са 1 файла, в които са добавени 0 реда и са изтрити 5 реда
  1. 0 5
      broadcast/broadcast.go

+ 0 - 5
broadcast/broadcast.go

@@ -362,14 +362,11 @@ func hostStatusLoop() {
 	for {
 		select {
 		case <-ticker.C:
-			config.Logger.Info("host bstate updating")
 			update := constructSystemInfo()
 			err := UpdateBroadcastState(update)
 			if err != nil {
 				config.Logger.Warn(fmt.Sprintf("Error updating system status: %v", err))
 			}
-			
-			config.Logger.Info("host bstate updated")
 		}
 	}
 }
@@ -381,7 +378,6 @@ func shipStatusLoop() {
 	for {
 		select {
 		case <-ticker.C:
-			config.Logger.Info("ship bstate updating")
 			conf := config.Conf()
 			piers := conf.Piers
 			updates, err := constructPierInfo(piers)
@@ -396,7 +392,6 @@ func shipStatusLoop() {
 			}
 			mu.Unlock()  // Unlocking the mutex
 			BroadcastToClients()
-			config.Logger.Info("ship bstate updated")
 		}
 	}
 }