Skip to content

Add 15s timeout to pending worker fetch requests#51

Open
ryanbr wants to merge 1 commit intomasterfrom
feat/fetch-request-timeout
Open

Add 15s timeout to pending worker fetch requests#51
ryanbr wants to merge 1 commit intomasterfrom
feat/fetch-request-timeout

Conversation

@ryanbr
Copy link
Copy Markdown
Owner

@ryanbr ryanbr commented Apr 6, 2026

Prevents promise leak and indefinite hang when the window scope never responds to a worker's GQL fetch request (page navigation, extension conflict, handler crash). Timeout rejects the promise which is caught by existing error handling — player type marked as failed, backup search continues.

Prevents promise leak and indefinite hang when the window scope never
responds to a worker's GQL fetch request (page navigation, extension
conflict, handler crash). Timeout rejects the promise which is caught
by existing error handling — player type marked as failed, backup
search continues.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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