修改:使用 数据库配置定时调度,配置变更发送指令重新加载
git-svn-id: svn://47.119.165.148/zhub@67 e63fbceb-bcc3-4977-ac22-735b83d8d0f4
This commit is contained in:
@@ -70,6 +70,14 @@ func msgAccept(v Message) {
|
||||
daly(rcmd, c)
|
||||
case "timer":
|
||||
zsub.timer(rcmd, c)
|
||||
case "cmd":
|
||||
if len(rcmd) == 1 {
|
||||
return
|
||||
}
|
||||
switch rcmd[1] {
|
||||
case "reload-timer-config":
|
||||
zsub.reloadTimerConfig()
|
||||
}
|
||||
default:
|
||||
send(c.conn, "-Error: default not supported:["+strings.Join(rcmd, " ")+"]")
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user