-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fetch of currency data delays start by several seconds #50
Comments
I'd like to note a finding with today's Cloudflare hiccup: rink will not launch while there is no internet connection (or at least no DNS resolution). |
Yep, I hit that regularly. |
I changed the timeout to 2 seconds and made it so that it will attempt to reuse the existing cached file if the request fails. I hope that will fix the issue, although the eventual solution would definitely be to fetch it in the background asynchronously. I had a bit of trouble testing it though, so let me know if you run into any issues. This is included in the 0.5 release. |
Thank you, works well for me! |
I was having issues with currency fetching timing out after 2 seconds or otherwise taking over a second to complete. The server also went down sometimes for seemingly no reason. rinkcalc.app is now behind a CDN which should help a lot, especially in countries with bad peering to the US. Requests for This ticket will stay open. I really want to make currency fetching only happen when you actually go to use currency units, rather than blocking startup. |
Nice! Thank you @tiffany352, I kept hitting this every once in a while. Rink is so core to my workflow these days that I just lived with it, but it was a little annoying. |
It would be nice to lazily update currency info in the background.
The text was updated successfully, but these errors were encountered: