mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-11-06 05:12:10 +08:00
refactor: cmd update.
This commit is contained in:
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…
x
Reference in New Issue
Block a user