lyarenei / jellyfin-plugin-listenbrainz

ListenBrainz plugin for Jellyfin.
MIT License
65 stars 2 forks source link

Fix too long sleep duration in retry logic #14

Closed Maxr1998 closed 1 year ago

Maxr1998 commented 1 year ago

ISleepService expects a sleep duration in seconds, thus we don't need to multiply by 1000 here.

lyarenei commented 1 year ago

Oh, nice catch. Seems like someone doesn't read documentation they write. 😅

Maxr1998 commented 1 year ago

Haha, no prob. I just wondered why the failed request wasn't actually retried when looking at the logs and decided to dig into the source 😄