ykozxy / bangumi-sync

A script that automatically syncs all anime collections from bgm.tv to Anilist. | 一个自动同步所有 bgm.tv 动画收视记录到 Anilist 的脚本。
MIT License
49 stars 6 forks source link

feat: exponential backoff for API retries #6

Closed ykozxy closed 5 months ago

ykozxy commented 5 months ago

Updated Anilist and Bangumi clients to utilize exponential backoff when performing API retries. Now, both the number of retry attempts and the delay between retries can be specified.