fix: create worker to add data when computer is offline

This commit is contained in:
trafficlunar 2024-11-29 23:28:13 +00:00
parent d918100c2e
commit e97b271bd7
2 changed files with 22 additions and 0 deletions

View file

@ -4,6 +4,7 @@ import "os"
func StartWorkers() {
go StartLastFMWorker()
go StartComputerWorker()
if os.Getenv("UPTIME_KUMA_ENABLED") == "true" {
go StartStatusWorker()
}