Fixing host skipping error (#3143)

* removed error resulting into excessive error count

* banner update
This commit is contained in:
Sandeep Singh
2023-01-04 00:43:18 +05:30
committed by GitHub
parent eabd4954cf
commit 2d7948af55
2 changed files with 2 additions and 2 deletions

View File

@@ -126,7 +126,7 @@ func (c *Cache) MarkFailed(value string, err error) {
_ = c.failedTargets.Set(finalValue, existingCacheItemValue)
}
var reCheckError = regexp.MustCompile(`(no address found for host|could not connect to any address|Client\.Timeout exceeded while awaiting headers|could not resolve host|connection refused|context deadline exceeded)`)
var reCheckError = regexp.MustCompile(`(no address found for host|Client\.Timeout exceeded while awaiting headers|could not resolve host|connection refused)`)
// checkError checks if an error represents a type that should be
// added to the host skipping table.