From 57e5d67f86a494e49f5eb43fb6113147687638d2 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 b6ed1a043..5bbc20ebc 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")