Closed rock3r closed 10 years ago
This should further help working around issues #85 and #86
I'd add: force closing and opening a new connection. This should fix any further issue with ECONNRESET.
This will include a cache overhaul: cache must expire.
Cache expires after 2 hours. Or, at least, it's supposed to.
I have put the timeout to 1 ms and it keeps on getting the same information.
That's strange, it used to work at one point. Who knows...
Can confirm it's working. I propose clearing the cache when the user explicitly requests an update by tapping on the refresh button. Agreed?
Agreed!
When the updates fail because of network issues, the widget should retry after a short wait for a certain number of times before giving up.