Skip to content

Add timeout to PGCR processing - #33

Draft
seer-by-sentry[bot] wants to merge 1 commit into
mainfrom
seer/add-pgcr-timeout
Draft

Add timeout to PGCR processing#33
seer-by-sentry[bot] wants to merge 1 commit into
mainfrom
seer/add-pgcr-timeout

Conversation

@seer-by-sentry

Copy link
Copy Markdown
Contributor

Fixes SERVICES-20. The issue was that: PGCR fetches use context.Background(), allowing infinite retries of 15s HTTP client timeouts, leading to overall operation timeouts.

  • Introduced a 3-minute context timeout for pgcr_processing.FetchAndProcessPGCR calls.
  • This prevents indefinite retries and endless loops when the Bungie API is slow or unresponsive.
  • Ensures processing attempts eventually time out, improving worker robustness.

This fix was generated by Seer in Sentry, triggered by Owen. 👁️ Run ID: 10541259

Not quite right? Click here to continue debugging with Seer.

@seer-by-sentry
seer-by-sentry Bot requested a review from owens1127 February 22, 2026 03:16
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.

0 participants