mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-12-25 06:26:34 +08:00
在请求上下文中停用统计的时候也停用对应的指标统计
This commit is contained in:
@@ -546,4 +546,6 @@ func (this *HTTPRequest) DisableStat() {
|
||||
if this.web != nil {
|
||||
this.web.StatRef = nil
|
||||
}
|
||||
|
||||
this.disableMetrics = true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user