一些优化

This commit is contained in:
Yun
2024-05-08 13:01:55 +08:00
parent c3121f425e
commit f46e8e220a
5 changed files with 42 additions and 29 deletions
+2 -1
View File
@@ -11,8 +11,9 @@ import (
"time"
)
// 定时器
// 简单定时器
// 1. 这个定时器的作用范围是本机
// 2. 适用简单的时间间隔定时任务
// uuid -> timerStr
var timerMap = make(map[string]*timerStr)