{"action":"created","issue":{"url":"https://api.github.com/repos/ethereum/go-ethereum/issues/1752","labels_url":"https://api.github.com/repos/ethereum/go-ethereum/issues/1752/labels{/name}","comments_url":"https://api.github.com/repos/ethereum/go-ethereum/issues/1752/comments","events_url":"https://api.github.com/repos/ethereum/go-ethereum/issues/1752/events","html_url":"https://github.com/ethereum/go-ethereum/pull/1752","id":104263637,"number":1752,"title":"eth/downloader: fix race causing occasional test failure","user":{"login":"karalabe","id":129561,"avatar_url":"https://avatars.githubusercontent.com/u/129561?v=3","gravatar_id":"","url":"https://api.github.com/users/karalabe","html_url":"https://github.com/karalabe","followers_url":"https://api.github.com/users/karalabe/followers","following_url":"https://api.github.com/users/karalabe/following{/other_user}","gists_url":"https://api.github.com/users/karalabe/gists{/gist_id}","starred_url":"https://api.github.com/users/karalabe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karalabe/subscriptions","organizations_url":"https://api.github.com/users/karalabe/orgs","repos_url":"https://api.github.com/users/karalabe/repos","events_url":"https://api.github.com/users/karalabe/events{/privacy}","received_events_url":"https://api.github.com/users/karalabe/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ethereum/go-ethereum/labels/review","name":"review","color":"fad8c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-01T13:15:46Z","updated_at":"2015-09-03T13:51:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ethereum/go-ethereum/pulls/1752","html_url":"https://github.com/ethereum/go-ethereum/pull/1752","diff_url":"https://github.com/ethereum/go-ethereum/pull/1752.diff","patch_url":"https://github.com/ethereum/go-ethereum/pull/1752.patch"},"body":"This PR fixes a tiny logical race condition that caused one of the eth/61 tests to occasionally fail. The error was that if block downloading was throttled, but throttling cancelled before the block fetch reserving goroutine reached the end of the reservation block, it \"thought\" that no peers are available, whereas there were available ones, only throttled when tried."},"comment":{"url":"https://api.github.com/repos/ethereum/go-ethereum/issues/comments/137454019","html_url":"https://github.com/ethereum/go-ethereum/pull/1752#issuecomment-137454019","issue_url":"https://api.github.com/repos/ethereum/go-ethereum/issues/1752","id":137454019,"user":{"login":"maran","id":20855,"avatar_url":"https://avatars.githubusercontent.com/u/20855?v=3","gravatar_id":"","url":"https://api.github.com/users/maran","html_url":"https://github.com/maran","followers_url":"https://api.github.com/users/maran/followers","following_url":"https://api.github.com/users/maran/following{/other_user}","gists_url":"https://api.github.com/users/maran/gists{/gist_id}","starred_url":"https://api.github.com/users/maran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maran/subscriptions","organizations_url":"https://api.github.com/users/maran/orgs","repos_url":"https://api.github.com/users/maran/repos","events_url":"https://api.github.com/users/maran/events{/privacy}","received_events_url":"https://api.github.com/users/maran/received_events","type":"User","site_admin":false},"created_at":"2015-09-03T13:51:10Z","updated_at":"2015-09-03T13:51:10Z","body":":+1: "}}