Commit dc14497
committed
fix: don't count DNS resolution errors against consecutive failure limit
When crawling large domain lists (e.g. Tranco top 100k), many domains
cannot be resolved via DNS. These dnsNotFound neterrors are expected and
do not indicate a browser or instrumentation failure. Previously they
were counted against MAX_CONSECUTIVE_FAILURES, eventually crashing the
crawl.
Skip the failure counter increment and browser restart for dnsNotFound
neterrors so that DNS resolution failures no longer crash large crawls.
Fixes #11161 parent 58218c7 commit dc14497
1 file changed
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
461 | 461 | | |
462 | 462 | | |
463 | 463 | | |
464 | | - | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
465 | 476 | | |
466 | 477 | | |
467 | 478 | | |
| |||
0 commit comments