Skip to content

fix(verify): cap the per-host rate-limit backoff - #53

Merged
Seungpyo1007 merged 1 commit into
mainfrom
fix/cap-host-backoff
Aug 3, 2026
Merged

fix(verify): cap the per-host rate-limit backoff#53
Seungpyo1007 merged 1 commit into
mainfrom
fix/cap-host-backoff

Conversation

@Seungpyo1007

Copy link
Copy Markdown
Member

Follow-up to #52. The backoff introduced there is multiplicative with no ceiling, so a host that refuses repeatedly walks its interval up without bound (1s -> 4 -> 16 -> 64 -> ...). A run over the ~4,000 cited GSMArena URLs could then spend hours asleep and blow the job timeout.

Caps the per-host interval at 30s, with a test that hammers back_off 20 times and asserts the ceiling holds.

Refs #1

The rate-limit penalty added in #52 is multiplicative with no ceiling,
so a host that refuses repeatedly walks its interval up without bound
(1s -> 4 -> 16 -> 64 -> ...). Over the ~4,000 cited GSMArena URLs that
turns a run into hours of sleeping and risks the job timeout.

Cap the per-host interval at 30s.

Refs #1
@Seungpyo1007 Seungpyo1007 added the bug Something isn't working label Aug 3, 2026
@Seungpyo1007 Seungpyo1007 self-assigned this Aug 3, 2026
@Seungpyo1007
Seungpyo1007 merged commit 015b95d into main Aug 3, 2026
1 check passed
@Seungpyo1007
Seungpyo1007 deleted the fix/cap-host-backoff branch August 3, 2026 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant