refactor: cmd update.

pull/2148/head
Gordon 1 year ago
parent 4d198ea6e3
commit b8a0c41e2e

@ -15,6 +15,8 @@
package main
func main() {
ch := make(chan int)
<-ch
//msgUtilsCmd := cmd.NewMsgUtilsCmd("openIMCmdUtils", "openIM cmd utils", nil)
//getCmd := cmd.NewGetCmd()
//fixCmd := cmd.NewFixCmd()

@ -39,7 +39,8 @@ type CronTaskConfig struct {
}
func Start(ctx context.Context, config *CronTaskConfig) error {
ch := make(chan int)
<-ch
log.CInfo(ctx, "CRON-TASK server is initializing", "chatRecordsClearTime",
config.CronTask.ChatRecordsClearTime, "msgDestructTime", config.CronTask.MsgDestructTime)

Loading…
Cancel
Save