浏览代码

推送频率调成high

ChenHaolong 1 年之前
父节点
当前提交
a96c5f40f8
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      server/LogPushCloudflareServer.go

+ 1 - 0
server/LogPushCloudflareServer.go

@@ -65,6 +65,7 @@ func (s *LogPushCloudflareServer) CreateLogPushJobByZoneId(ctx context.Context,
 		Dataset:            requestCloudflare.GetDataSet(),
 		DestinationConf:    requestCloudflare.GetDestinationConf(),
 		Enabled:            true,
+		Frequency:          "high",
 		OwnershipChallenge: requestCloudflare.GetOwnershipChallenge(),
 	}
 	result, err := api.CreateZoneLogpushJob(ctxAPI, requestCloudflare.GetZoneId(), job)