vosmiic / jellyfin-ani-sync

Synchronize anime watch status between Jellyfin and anime tracking sites.
GNU General Public License v3.0
215 stars 15 forks source link

Fixing Anilist timeout issues #131

Closed vosmiic closed 4 weeks ago

vosmiic commented 1 month ago

This PR fixes AniList (and potential other provider) 429 too many request issues by implementing an exponential backoff and preventing too many API calls being made to the same provider if called in succession too quickly.

Also a delayer interface has been created for unit tests.

Fixes #122