lowered error rate
This commit is contained in:
@@ -108,7 +108,6 @@ REVISION_ERRORS = {
|
|||||||
|
|
||||||
TRANSIENT_ERRORS = {
|
TRANSIENT_ERRORS = {
|
||||||
"User input required (password)",
|
"User input required (password)",
|
||||||
"cookies",
|
|
||||||
"429",
|
"429",
|
||||||
"rate limit",
|
"rate limit",
|
||||||
"timed out",
|
"timed out",
|
||||||
@@ -136,8 +135,6 @@ def _make_gallery_error_handler(link: str):
|
|||||||
db.mark_requires_revision_by_norm(conn, norm, "No results for")
|
db.mark_requires_revision_by_norm(conn, norm, "No results for")
|
||||||
conn.commit()
|
conn.commit()
|
||||||
return
|
return
|
||||||
if any(tok in line for tok in TRANSIENT_ERRORS):
|
|
||||||
LOG.warning("Transient error for %s: %s", link, line.strip())
|
|
||||||
|
|
||||||
return handle
|
return handle
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user