健康检查时不记录统计

This commit is contained in:
刘祥超
2023-04-05 16:44:26 +08:00
parent ed6127c2bb
commit ea41c9b0b3

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
}