mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-10-13 05:23:44 +08:00
增加集群部署支持,修复定时任务分组添加后选项不显示
This commit is contained in:
@@ -19,6 +19,9 @@ func (client *Client) getCronKey(s string) string {
|
||||
|
||||
// stopCron 停止定时任务
|
||||
func (client *Client) stopCron() {
|
||||
if client.conn == nil {
|
||||
return
|
||||
}
|
||||
gcron.Remove(client.getCronKey(CronHeartbeatVerify))
|
||||
gcron.Remove(client.getCronKey(CronHeartbeat))
|
||||
}
|
||||
|
Reference in New Issue
Block a user