1
0
mirror of https://github.com/IceWhaleTech/CasaOS.git synced 2025-07-15 23:54:17 +02:00

Remove client judgment (#862)

This commit is contained in:
link
2023-02-06 17:10:05 +08:00
committed by GitHub
parent 173997c44b
commit 4c917a33a4
2 changed files with 2 additions and 13 deletions

View File

@ -116,14 +116,7 @@ func main() {
// every day execution
err := cron2.AddFunc("0/5 * * * * *", func() {
if service.ClientCount > 0 {
// route.SendNetINfoBySocket()
// route.SendCPUBySocket()
// route.SendMemBySocket()
// route.SendDiskBySocket()
// route.SendUSBBySocket()
route.SendAllHardwareStatusBySocket()
}
route.SendAllHardwareStatusBySocket()
})
if err != nil {
fmt.Println(err)