Skip to content

Commit d20bf97

Browse files
authored
Merge pull request #24 from andrewshan/main
fix: 精度日志全部都打印
2 parents 3b7ab94 + 46480fe commit d20bf97

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

plugin/statis/file/log_stat.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -136,10 +136,10 @@ func (l *LogStatHandler) LogPrecisionRecord(values map[interface{}]plugin.RateLi
136136
for _, value := range values {
137137
rateLimitData := value.GetPrecisionData()
138138
limited := rateLimitData.GetLimited()
139-
if limited == 0 {
140-
// 没有发生限流,则不打印精度日志
141-
continue
142-
}
139+
//if limited == 0 {
140+
// // 没有发生限流,则不打印精度日志
141+
// continue
142+
//}
143143
total++
144144
logStatValue := PoolGetLogStatValue()
145145
logStatValue.Namespace = value.GetNamespace()

0 commit comments

Comments
 (0)