Skip to content

Disable rate limiting on relay endpoint#745

Merged
raymondjacobson merged 1 commit intomainfrom
fix/disable-relay-rate-limit
Mar 31, 2026
Merged

Disable rate limiting on relay endpoint#745
raymondjacobson merged 1 commit intomainfrom
fix/disable-relay-rate-limit

Conversation

@raymondjacobson
Copy link
Copy Markdown
Member

Summary

  • Relay calls from the SDK don't attach api_key or app_name, so they fall back to IP-based rate limiting at 5 RPS default
  • Batch track uploads (e.g. 22 tracks via Promise.all) exceed this limit, causing EntityManagerClient.manageEntity to fail with "API Rate Limit Exceeded"
  • Skips rate limiting on /relay paths until the SDK properly identifies itself on relay calls

Test plan

  • Verify batch track upload (20+ tracks) no longer hits rate limit errors
  • Verify rate limiting still works on /v1 API endpoints

🤖 Generated with Claude Code

Relay calls from the SDK don't include api_key or app_name, causing
them to fall back to IP-based rate limiting at 5 RPS. This breaks
batch track uploads (e.g. 22 tracks via Promise.all) which exceed
that limit. Skip rate limiting on /relay until the SDK properly
identifies itself.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@raymondjacobson raymondjacobson merged commit aafdf66 into main Mar 31, 2026
4 checks passed
@raymondjacobson raymondjacobson deleted the fix/disable-relay-rate-limit branch March 31, 2026 19:31
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