paljsingh / impartus-downloader

Download Impartus lectures, convert to mkv for offline viewing.
GNU General Public License v3.0
23 stars 8 forks source link

[Enhancement]: Add max retries to all http requests #79

Closed paljsingh closed 3 years ago

paljsingh commented 3 years ago

In case of a network connection failure, the app keeps trying to reconnect using the same session/token. Often this results in a repeated errors thrown by the server apis.

Have a max-retry config, after which the background thread should exit. This may also solve the other issue related to active thread trying to update state of a already destroyed button widget.