From ec4603942fac341707127955992dd620223e3a5f Mon Sep 17 00:00:00 2001 From: anime Date: Sat, 11 Oct 2025 00:59:13 +0800 Subject: [PATCH] fix(channel): move log statement after sleep in auto-test loop --- controller/channel-test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller/channel-test.go b/controller/channel-test.go index b6ed1a04..5bbc20eb 100644 --- a/controller/channel-test.go +++ b/controller/channel-test.go @@ -624,8 +624,8 @@ func AutomaticallyTestChannels() { } for { frequency := operation_setting.GetMonitorSetting().AutoTestChannelMinutes - common.SysLog(fmt.Sprintf("automatically test channels with interval %d minutes", frequency)) time.Sleep(time.Duration(frequency) * time.Minute) + common.SysLog(fmt.Sprintf("automatically test channels with interval %d minutes", frequency)) common.SysLog("automatically testing all channels") _ = testAllChannels(false) common.SysLog("automatically channel test finished")