{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/tile-reduce/issues/60","labels_url":"https://api.github.com/repos/mapbox/tile-reduce/issues/60/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/tile-reduce/issues/60/comments","events_url":"https://api.github.com/repos/mapbox/tile-reduce/issues/60/events","html_url":"https://github.com/mapbox/tile-reduce/pull/60","id":118595499,"number":60,"title":"Ensure tile stream ended before shutdown","user":{"login":"mourner","id":25395,"avatar_url":"https://avatars.githubusercontent.com/u/25395?v=3","gravatar_id":"","url":"https://api.github.com/users/mourner","html_url":"https://github.com/mourner","followers_url":"https://api.github.com/users/mourner/followers","following_url":"https://api.github.com/users/mourner/following{/other_user}","gists_url":"https://api.github.com/users/mourner/gists{/gist_id}","starred_url":"https://api.github.com/users/mourner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mourner/subscriptions","organizations_url":"https://api.github.com/users/mourner/orgs","repos_url":"https://api.github.com/users/mourner/repos","events_url":"https://api.github.com/users/mourner/events{/privacy}","received_events_url":"https://api.github.com/users/mourner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-24T12:10:17Z","updated_at":"2015-11-24T15:00:53Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mapbox/tile-reduce/pulls/60","html_url":"https://github.com/mapbox/tile-reduce/pull/60","diff_url":"https://github.com/mapbox/tile-reduce/pull/60.diff","patch_url":"https://github.com/mapbox/tile-reduce/pull/60.patch"},"body":"This fixes the \"cannot call send of undefined\" error when running jobs on big MBTiles streams in some cases. Don't know how to add a test though since this only happens on pretty big MBTiles fixtures. cc @tcql @morganherlocker "},"comment":{"url":"https://api.github.com/repos/mapbox/tile-reduce/issues/comments/159293588","html_url":"https://github.com/mapbox/tile-reduce/pull/60#issuecomment-159293588","issue_url":"https://api.github.com/repos/mapbox/tile-reduce/issues/60","id":159293588,"user":{"login":"tcql","id":348805,"avatar_url":"https://avatars.githubusercontent.com/u/348805?v=3","gravatar_id":"","url":"https://api.github.com/users/tcql","html_url":"https://github.com/tcql","followers_url":"https://api.github.com/users/tcql/followers","following_url":"https://api.github.com/users/tcql/following{/other_user}","gists_url":"https://api.github.com/users/tcql/gists{/gist_id}","starred_url":"https://api.github.com/users/tcql/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tcql/subscriptions","organizations_url":"https://api.github.com/users/tcql/orgs","repos_url":"https://api.github.com/users/tcql/repos","events_url":"https://api.github.com/users/tcql/events{/privacy}","received_events_url":"https://api.github.com/users/tcql/received_events","type":"User","site_admin":false},"created_at":"2015-11-24T15:00:53Z","updated_at":"2015-11-24T15:00:53Z","body":"Oh good, I ran into this again the other day.\r\n\r\n> Don't know how to add a test though since this only happens on pretty big MBTiles fixtures\r\n\r\nsame. Seems a bit inconsistent too, I've never had the issue on my local machine, but have seen it on EC2s and other people's computers"}}