Commit ab2494d4 by 朱继来

调整释放脚本时间

parent c2a96232
Showing with 2 additions and 1 deletions
......@@ -27,8 +27,9 @@ func main () {
logger.Init()
// 定时执行
ticker := time.NewTicker(time.Second * 5)
//ticker := time.NewTicker(time.Second * 5)
//ticker := time.NewTicker(time.Minute * 30) // 第一次执行时间30分钟,后续2分钟
ticker := time.NewTicker(time.Minute * 5) // 每五分钟执行
for {
select {
case <- ticker.C:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment