diff --git a/controller/channel-test.go b/controller/channel-test.go index 9f6e479fd..171cca22b 100644 --- a/controller/channel-test.go +++ b/controller/channel-test.go @@ -617,6 +617,10 @@ func TestAllChannels(c *gin.Context) { var autoTestChannelsOnce sync.Once func AutomaticallyTestChannels() { + // 只在Master节点定时测试渠道 + if !common.IsMasterNode { + return + } autoTestChannelsOnce.Do(func() { for { if !operation_setting.GetMonitorSetting().AutoTestChannelEnabled {