[PR #1678] Adding MAX_URL_ATTEMPTS to stop retrying failed URLs #2973

Closed
opened 2026-03-01 18:01:17 +03:00 by kerem · 0 comments
Owner

Original Pull Request: https://github.com/ArchiveBox/ArchiveBox/pull/1678

State: closed
Merged: No


Summary

Adding MAX_URL_ATTEMPTS to stop retrying failed URLs as a configuration option (default 0, meaning unlimited) and a retry_count column in the database to track the number of attempts. Once a snapshot has been retried MAX_URL_ATTEMPTS times, it will be skipped on further updates.
MAX_URL_ATTEMPTS = 0 means unlimited retries, which is ArchiveBox's behaviour before this change.
The change does not take into account any date info, as was suggested here.

The changes are only a couple of lines of logic, it looks like more due to changed indenting.

Related issues

#109

Changes these areas

  • Feature behavior
  • Configuration options
  • Database
**Original Pull Request:** https://github.com/ArchiveBox/ArchiveBox/pull/1678 **State:** closed **Merged:** No --- # Summary Adding MAX_URL_ATTEMPTS to stop retrying failed URLs as a configuration option (default 0, meaning unlimited) and a retry_count column in the database to track the number of attempts. Once a snapshot has been retried MAX_URL_ATTEMPTS times, it will be skipped on further updates. MAX_URL_ATTEMPTS = 0 means unlimited retries, which is ArchiveBox's behaviour before this change. The change does not take into account any date info, as was [suggested here](https://github.com/ArchiveBox/ArchiveBox/issues/109#issuecomment-439201532). The changes are only a couple of lines of logic, it looks like more due to changed indenting. # Related issues #109 # Changes these areas - [x] Feature behavior - [x] Configuration options - [x] Database
kerem 2026-03-01 18:01:17 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ArchiveBox#2973
No description provided.