健康检查时不记录统计

This commit is contained in:
GoEdgeLab
2023-04-05 16:44:26 +08:00
parent 5c6b4a0c9b
commit 600fc6ab30

View File

@@ -21,6 +21,8 @@ func (this *HTTPRequest) doHealthCheck(key string, isHealthCheck *bool) (stop bo
}
*isHealthCheck = true
this.web.StatRef = nil
if !data.GetBool("accessLogIsOn") {
this.disableLog = true
}