{"action":"created","issue":{"url":"https://api.github.com/repos/sk1418/zhuaxia/issues/21","labels_url":"https://api.github.com/repos/sk1418/zhuaxia/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/sk1418/zhuaxia/issues/21/comments","events_url":"https://api.github.com/repos/sk1418/zhuaxia/issues/21/events","html_url":"https://github.com/sk1418/zhuaxia/issues/21","id":117061680,"number":21,"title":"断线重试","user":{"login":"lianxiangru","id":8991941,"avatar_url":"https://avatars.githubusercontent.com/u/8991941?v=3","gravatar_id":"","url":"https://api.github.com/users/lianxiangru","html_url":"https://github.com/lianxiangru","followers_url":"https://api.github.com/users/lianxiangru/followers","following_url":"https://api.github.com/users/lianxiangru/following{/other_user}","gists_url":"https://api.github.com/users/lianxiangru/gists{/gist_id}","starred_url":"https://api.github.com/users/lianxiangru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lianxiangru/subscriptions","organizations_url":"https://api.github.com/users/lianxiangru/orgs","repos_url":"https://api.github.com/users/lianxiangru/repos","events_url":"https://api.github.com/users/lianxiangru/events{/privacy}","received_events_url":"https://api.github.com/users/lianxiangru/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sk1418/zhuaxia/labels/Feature","name":"Feature","color":"009800"}],"state":"open","locked":false,"assignee":{"login":"sk1418","id":367609,"avatar_url":"https://avatars.githubusercontent.com/u/367609?v=3","gravatar_id":"","url":"https://api.github.com/users/sk1418","html_url":"https://github.com/sk1418","followers_url":"https://api.github.com/users/sk1418/followers","following_url":"https://api.github.com/users/sk1418/following{/other_user}","gists_url":"https://api.github.com/users/sk1418/gists{/gist_id}","starred_url":"https://api.github.com/users/sk1418/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sk1418/subscriptions","organizations_url":"https://api.github.com/users/sk1418/orgs","repos_url":"https://api.github.com/users/sk1418/repos","events_url":"https://api.github.com/users/sk1418/events{/privacy}","received_events_url":"https://api.github.com/users/sk1418/received_events","type":"User","site_admin":false},"milestone":null,"comments":9,"created_at":"2015-11-16T06:29:58Z","updated_at":"2015-11-16T23:49:43Z","closed_at":null,"body":"似乎下载项在connection reset by peer之后就再也不下载了，可以考虑加一个自动重试下载的feature"},"comment":{"url":"https://api.github.com/repos/sk1418/zhuaxia/issues/comments/157211707","html_url":"https://github.com/sk1418/zhuaxia/issues/21#issuecomment-157211707","issue_url":"https://api.github.com/repos/sk1418/zhuaxia/issues/21","id":157211707,"user":{"login":"sk1418","id":367609,"avatar_url":"https://avatars.githubusercontent.com/u/367609?v=3","gravatar_id":"","url":"https://api.github.com/users/sk1418","html_url":"https://github.com/sk1418","followers_url":"https://api.github.com/users/sk1418/followers","following_url":"https://api.github.com/users/sk1418/following{/other_user}","gists_url":"https://api.github.com/users/sk1418/gists{/gist_id}","starred_url":"https://api.github.com/users/sk1418/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sk1418/subscriptions","organizations_url":"https://api.github.com/users/sk1418/orgs","repos_url":"https://api.github.com/users/sk1418/repos","events_url":"https://api.github.com/users/sk1418/events{/privacy}","received_events_url":"https://api.github.com/users/sk1418/received_events","type":"User","site_admin":false},"created_at":"2015-11-16T23:49:43Z","updated_at":"2015-11-16T23:49:43Z","body":"@lianxiangru  I added a timeout (30 seconds) for mp3 downloading, and 晕,怎么写en了...  如果timeout了, 就重新下载当前文件, 最多重试5次. 目前这个30 和5都是hardcoded, 我觉得没什么必要弄成可设置的.\r\n\r\n已经push到bleeding branch 我自己把timeout设置成非常小的值测试,好像是可以. 你可以再测试下你的实际应用. 另外在下载时, 关注下百分比等是不是正确,我自己测试数字蹦的太快..;-) \r\n\r\nbleeding branch里还有个其它的与此issue不相干的改动. 总之你测试下, 如果没什么问题, 我就merge进master.\r\n\r\n谢谢."}}