修复无效数据重复被送入结果管道的bug

This commit is contained in:
M09Ic 2022-12-06 21:53:09 +08:00
parent b94a4c3137
commit 7f4c75bf10

View File

@ -353,8 +353,6 @@ func (p *Pool) PreCompare(resp *ihttp.Response) error {
func (p *Pool) BaseCompare(bl *pkg.Baseline) bool { func (p *Pool) BaseCompare(bl *pkg.Baseline) bool {
if !bl.IsValid { if !bl.IsValid {
// precompare 确认无效数据直接送入管道
p.OutputCh <- bl
return false return false
} }
var status = -1 var status = -1