mirror of
https://github.com/Sagit-chu/flvx.git
synced 2026-10-13 04:36:37 +08:00
增加协议屏蔽支持
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user