feat(1.0): 新增脚本定时更新小程序状态

This commit is contained in:
summer 2025-11-06 20:41:08 +08:00
parent 78a2b442ec
commit 4e236e084e

View File

@ -15,7 +15,7 @@ func (s *server) Start() {
s.cron.Start()
go s.taskCount.Wait()
// 每 5 分钟监控小程序状态
// 每 10 分钟监控小程序状态
s.cron.AddFunc("0 */10 * * * ?", func() {
s.taskCount.Add()
defer s.taskCount.Done()