SaxyPandaBear / TwitchSongRequests

An unofficial Twitch integration that uses channel point redemption events to trigger enqueuing song requests in a connected Spotify player.
MIT License
14 stars 5 forks source link

Separate Spotify API calls from Twitch webhook callback #266

Open SaxyPandaBear opened 6 months ago

SaxyPandaBear commented 6 months ago

This would help optimize the response times for the API callback, but more importantly it allows for exponential backoff retries on making Spotify API calls. This requires some fairly significant changes to the callback API and also requires introducing a new background goroutine that handles Spotify requests.

Veraismad commented 6 months ago

This would help optimize the response times for the API callback, but more importantly it allows for exponential backoff retries on making Spotify API calls. This requires some fairly significant changes to the callback API and also requires introducing a new background goroutine that handles Spotify requests.