fix download stats

This commit is contained in:
Simon Ding
2025-11-13 00:05:41 +08:00
parent 53dda90c0f
commit 4341e31251
2 changed files with 22 additions and 57 deletions

View File

@@ -179,14 +179,6 @@ func (s *Server) Start(addr string) (int, error) {
log.Infof("----------- Polaris Server Successfully Started on Port %d------------", p)
ticker := time.NewTicker(10 * time.Minute)
go func() {
for {
s.cacheDownloadedStatus()
<-ticker.C
}
}()
return p, nil
}