Skip to content

Handles 429 at worker level#13

Open
swagnikdutta wants to merge 2 commits intomainfrom
enhancement/handle-429-worker
Open

Handles 429 at worker level#13
swagnikdutta wants to merge 2 commits intomainfrom
enhancement/handle-429-worker

Conversation

@swagnikdutta
Copy link
Collaborator

No description provided.

@swagnikdutta swagnikdutta force-pushed the enhancement/handle-429-worker branch 3 times, most recently from 39734b0 to a7c1a84 Compare February 10, 2026 09:54
Comment on lines +35 to +40
export function isRpc429Error(err: unknown): boolean {
if (!(err instanceof Error)) return false;
const msg = err.message || "";
const full = String(err);
return /429/.test(msg) || /Too Many Requests/i.test(msg) || /429/.test(full) || /Too Many Requests/i.test(full);
}
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO: @swagnikdutta to make this more robust.

@swagnikdutta swagnikdutta force-pushed the enhancement/handle-429-worker branch from a7c1a84 to cfab8d3 Compare February 11, 2026 05:41
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