Skip to content

Cap the PubChem 503 backoff so a transient throttle can't stall a crawl - #78

Merged
rvnminers-A-and-N merged 1 commit into
mainfrom
gentle-503-backoff
Jul 2, 2026
Merged

rvnminers-A-and-N merged 1 commit into
mainfrom
gentle-503-backoff

Conversation

@rvnminers-A-and-N

Copy link
Copy Markdown
Collaborator

An over-aggressive 503 backoff (up to 30s/call) turned a brief PubChem throttle into a ~40-min stall on the odor+threshold crawl. Cap the retry backoff at 4s — a transient throttle now costs a second or two, not a hang. Both the properties and odor/threshold crawlers benefit (shared _get).

An over-aggressive 503 backoff (up to 30s/call) turned a brief PubChem throttle
into a ~40-minute stall. Cap the retry backoff at 4s so a transient throttle costs
a second or two, not a hang; the shared imports mean both the properties and the
odor/threshold crawlers benefit.

Signed-off-by: Austin L. <86896075+rvnminers-A-and-N@users.noreply.github.com>
@rvnminers-A-and-N
rvnminers-A-and-N merged commit b528608 into main Jul 2, 2026
3 checks passed
@rvnminers-A-and-N
rvnminers-A-and-N deleted the gentle-503-backoff branch July 2, 2026 23:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant