{"action":"created","issue":{"url":"https://api.github.com/repos/jpodwys/superagent-cache/issues/7","labels_url":"https://api.github.com/repos/jpodwys/superagent-cache/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/jpodwys/superagent-cache/issues/7/comments","events_url":"https://api.github.com/repos/jpodwys/superagent-cache/issues/7/events","html_url":"https://github.com/jpodwys/superagent-cache/issues/7","id":111963660,"number":7,"title":" Instantiating separate instances of superagent-cache causes all requests to hang","user":{"login":"kaspermarstal","id":478833,"avatar_url":"https://avatars.githubusercontent.com/u/478833?v=3","gravatar_id":"","url":"https://api.github.com/users/kaspermarstal","html_url":"https://github.com/kaspermarstal","followers_url":"https://api.github.com/users/kaspermarstal/followers","following_url":"https://api.github.com/users/kaspermarstal/following{/other_user}","gists_url":"https://api.github.com/users/kaspermarstal/gists{/gist_id}","starred_url":"https://api.github.com/users/kaspermarstal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaspermarstal/subscriptions","organizations_url":"https://api.github.com/users/kaspermarstal/orgs","repos_url":"https://api.github.com/users/kaspermarstal/repos","events_url":"https://api.github.com/users/kaspermarstal/events{/privacy}","received_events_url":"https://api.github.com/users/kaspermarstal/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jpodwys/superagent-cache/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"jpodwys","id":5660076,"avatar_url":"https://avatars.githubusercontent.com/u/5660076?v=3","gravatar_id":"","url":"https://api.github.com/users/jpodwys","html_url":"https://github.com/jpodwys","followers_url":"https://api.github.com/users/jpodwys/followers","following_url":"https://api.github.com/users/jpodwys/following{/other_user}","gists_url":"https://api.github.com/users/jpodwys/gists{/gist_id}","starred_url":"https://api.github.com/users/jpodwys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpodwys/subscriptions","organizations_url":"https://api.github.com/users/jpodwys/orgs","repos_url":"https://api.github.com/users/jpodwys/repos","events_url":"https://api.github.com/users/jpodwys/events{/privacy}","received_events_url":"https://api.github.com/users/jpodwys/received_events","type":"User","site_admin":false},"milestone":null,"comments":6,"created_at":"2015-10-17T13:39:52Z","updated_at":"2015-10-20T23:20:31Z","closed_at":null,"body":"Hi,\r\n\r\nKudos for putting this little gem of a library together.\r\n\r\nWe want to use it for caching requests to Google Books API but have encountered a small issue during development. When two separate instances of superagent-cache is instantiated the application hangs indefinitely. \r\n\r\nWe have put together a little example to reproduce the problem at https://github.com/ilovebike/googlebooks/tree/development/. Clone and run \"npm test\" the tests complete just fine. However, uncomment https://github.com/ilovebike/googlebooks/blob/development/test/search-redis.js#L8 and run the tests again, and notice that it hangs indefinitely when the first http request is dispatched. Even mochas default timeout functionality cannot break the lockup.\r\n\r\nIs anyone able to reproduce the problem?"},"comment":{"url":"https://api.github.com/repos/jpodwys/superagent-cache/issues/comments/149729902","html_url":"https://github.com/jpodwys/superagent-cache/issues/7#issuecomment-149729902","issue_url":"https://api.github.com/repos/jpodwys/superagent-cache/issues/7","id":149729902,"user":{"login":"jpodwys","id":5660076,"avatar_url":"https://avatars.githubusercontent.com/u/5660076?v=3","gravatar_id":"","url":"https://api.github.com/users/jpodwys","html_url":"https://github.com/jpodwys","followers_url":"https://api.github.com/users/jpodwys/followers","following_url":"https://api.github.com/users/jpodwys/following{/other_user}","gists_url":"https://api.github.com/users/jpodwys/gists{/gist_id}","starred_url":"https://api.github.com/users/jpodwys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpodwys/subscriptions","organizations_url":"https://api.github.com/users/jpodwys/orgs","repos_url":"https://api.github.com/users/jpodwys/repos","events_url":"https://api.github.com/users/jpodwys/events{/privacy}","received_events_url":"https://api.github.com/users/jpodwys/received_events","type":"User","site_admin":false},"created_at":"2015-10-20T23:20:31Z","updated_at":"2015-10-20T23:20:31Z","body":"Published to NPM in `1.0.4`. Thanks for the bug report!"}}