jasonbhart / mmh

"Meet Me Here" website to help you organize ad hoc events with your friends on the fly
0 stars 0 forks source link

Do not cache failed Yelp API responses #521

Closed jasonbhart closed 8 years ago

jasonbhart commented 8 years ago

It looks like when we get a timeout or otherwise failure from querying the Yelp API, we still cache that response instead of disregarding it and trying again. Either way we should not cache failed API calls.

diepbuihuu commented 8 years ago

https://github.com/jasonbhart/mmh-node-yelp/commit/b8854b6f7d2368275b3bf5c08d6f999efe0523f6