Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Failed currency fetching are retried repeatedly #374
When a currency rate can't be fetched because the currency server doesn't have it (for example, if it's for a date prior to the server's first data on that currency, example: ILS on 2011-01-01), moneyGuru will repeatedly try to fetch it, forever.
moneyGuru should correctly mark the currency as fetched with the nearest rate as a value.
Warning: it's important to differentiate error responses from empty responses, otherwise we might end with with a cache falsely having empty rates forever because the connection to the currency server was temporarily buggy.