mirror of
https://github.com/trafficlunar/api.git
synced 2026-08-12 12:29:39 +00:00
fix: create worker to add data when computer is offline
This commit is contained in:
parent
d918100c2e
commit
e97b271bd7
2 changed files with 22 additions and 0 deletions
|
|
@ -4,6 +4,7 @@ import "os"
|
|||
|
||||
func StartWorkers() {
|
||||
go StartLastFMWorker()
|
||||
go StartComputerWorker()
|
||||
if os.Getenv("UPTIME_KUMA_ENABLED") == "true" {
|
||||
go StartStatusWorker()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue