This commit is contained in:
2025-10-12 13:58:21 +05:30
parent 5ba5f29b24
commit 1488c517db
6 changed files with 530 additions and 201 deletions

View File

@@ -205,7 +205,6 @@ func (fc *FlexClient) StartFlexClient() {
case <-fc.ctx.Done():
return
case <-fc.SpotChanToFlex:
// Ignorer les spots
}
}
}()
@@ -420,7 +419,7 @@ func (fc *FlexClient) SendSpottoFlex(spot TelnetSpot) {
if fc.HTTPServer != nil {
fc.HTTPServer.broadcast <- WSMessage{
Type: "spots",
Data: fc.Repo.GetAllSpots("1000"),
Data: fc.Repo.GetAllSpots("0"),
}
}