{"action":"created","issue":{"url":"https://api.github.com/repos/twitter/util/issues/150","labels_url":"https://api.github.com/repos/twitter/util/issues/150/labels{/name}","comments_url":"https://api.github.com/repos/twitter/util/issues/150/comments","events_url":"https://api.github.com/repos/twitter/util/issues/150/events","html_url":"https://github.com/twitter/util/issues/150","id":123489998,"number":150,"title":"Until-cache refresh behaviour ","user":{"login":"lukiano","id":686213,"avatar_url":"https://avatars.githubusercontent.com/u/686213?v=3","gravatar_id":"","url":"https://api.github.com/users/lukiano","html_url":"https://github.com/lukiano","followers_url":"https://api.github.com/users/lukiano/followers","following_url":"https://api.github.com/users/lukiano/following{/other_user}","gists_url":"https://api.github.com/users/lukiano/gists{/gist_id}","starred_url":"https://api.github.com/users/lukiano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukiano/subscriptions","organizations_url":"https://api.github.com/users/lukiano/orgs","repos_url":"https://api.github.com/users/lukiano/repos","events_url":"https://api.github.com/users/lukiano/events{/privacy}","received_events_url":"https://api.github.com/users/lukiano/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-22T14:26:33Z","updated_at":"2015-12-23T18:46:49Z","closed_at":null,"body":"Looking at refresh.every() method it seems that if a refresh fails, it evicts the promise, so that the next request forces a new call. \r\nI think that if the refresh fails, its promise should return the old data instead of an exception, besides evicting the entry. "},"comment":{"url":"https://api.github.com/repos/twitter/util/issues/comments/166968561","html_url":"https://github.com/twitter/util/issues/150#issuecomment-166968561","issue_url":"https://api.github.com/repos/twitter/util/issues/150","id":166968561,"user":{"login":"kevinoliver","id":347229,"avatar_url":"https://avatars.githubusercontent.com/u/347229?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinoliver","html_url":"https://github.com/kevinoliver","followers_url":"https://api.github.com/users/kevinoliver/followers","following_url":"https://api.github.com/users/kevinoliver/following{/other_user}","gists_url":"https://api.github.com/users/kevinoliver/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinoliver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinoliver/subscriptions","organizations_url":"https://api.github.com/users/kevinoliver/orgs","repos_url":"https://api.github.com/users/kevinoliver/repos","events_url":"https://api.github.com/users/kevinoliver/events{/privacy}","received_events_url":"https://api.github.com/users/kevinoliver/received_events","type":"User","site_admin":false},"created_at":"2015-12-23T18:46:49Z","updated_at":"2015-12-23T18:46:49Z","body":"Might depend on what the user wants, hard for me to say. I think making this a policy seems reasonable though if you are interested in a PR.\r\n\r\n"}}