mirror of
https://github.com/SoPat712/allstarr.git
synced 2026-02-09 23:55:10 -05:00
Fix Spotify 429 rate limiting and startup performance issues
- Fix: Use correct HttpClient (_webApiClient) for GraphQL library playlists endpoint - Was using _httpClient which pointed to wrong base URL causing 429 errors - Add: Retry logic with Retry-After header support for 429 responses - Add: Minimum 500ms delay between library playlist pages to prevent rate limiting - Add: 5-second timeout per endpoint benchmark ping to prevent slow endpoints from blocking startup - Add: Documentation for timeout requirements in EndpointBenchmarkService - Fix: ARM64 compatibility for spotify-lyrics service via platform emulation in docker-compose
This commit is contained in:
@@ -17,8 +17,11 @@ services:
|
||||
networks:
|
||||
- allstarr-network
|
||||
|
||||
# Spotify Lyrics API sidecar service
|
||||
# Note: This image only supports AMD64. On ARM64 systems, Docker will use emulation.
|
||||
spotify-lyrics:
|
||||
image: akashrchandran/spotify-lyrics-api:latest
|
||||
platform: linux/amd64
|
||||
container_name: allstarr-spotify-lyrics
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
|
||||
Reference in New Issue
Block a user