Commit 9ce21c0d authored by hujiebin's avatar hujiebin

feat:改到30秒执行观察大波浪

parent cdf3f6d7
...@@ -13,7 +13,7 @@ import ( ...@@ -13,7 +13,7 @@ import (
func OnMicCheck() { func OnMicCheck() {
c := cron.New() c := cron.New()
//一分钟执行一次 //一分钟执行一次
spec := "0 */1 * * * ?" spec := "30 */1 * * * ?"
_ = c.AddFunc(spec, func() { _ = c.AddFunc(spec, func() {
//获取麦上的所有人 //获取麦上的所有人
var model = domain.CreateModelNil() var model = domain.CreateModelNil()
......
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 to comment