wouterdebie / locast2tuner

Locast to Emby/Plex/Channels server
https://wouterdebie.github.io/locast2tuner/
MIT License
52 stars 8 forks source link

Move to a purely async http client #14

Closed wouterdebie closed 3 years ago

wouterdebie commented 3 years ago

Currently both a sync (blocking) and an async (non-blocking) HTTP client is used, but we should be able to consolidate this. The reason for this currently is that all the setup happens on the main thread when starting the application and only when starting actix-web, we jump into an async world. It'd probably be nice to start in an async world from the beginning, but that would require some plumbing.