增加协议屏蔽支持

This commit is contained in:
qaq
2025-08-17 21:45:48 +08:00
parent cdfad3f224
commit 51e4f590f5
5 changed files with 14 additions and 14 deletions
+1 -2
View File
@@ -189,8 +189,7 @@ func sendConfigReport(ctx context.Context) (bool, error) {
}
// StartConfigReporter 启动配置定时上报器(每10分钟上报一次)
func StartConfigReporter() {
ctx, _ := context.WithCancel(context.Background())
func StartConfigReporter(ctx context.Context) {
if configReportURL == "" {
fmt.Printf("⚠️ 配置上报URL未设置,跳过定时上报\n")
return