{"action":"created","issue":{"url":"https://api.github.com/repos/maidsafe/crust/issues/442","labels_url":"https://api.github.com/repos/maidsafe/crust/issues/442/labels{/name}","comments_url":"https://api.github.com/repos/maidsafe/crust/issues/442/comments","events_url":"https://api.github.com/repos/maidsafe/crust/issues/442/events","html_url":"https://github.com/maidsafe/crust/pull/442","id":120955275,"number":442,"title":"Network test utp","user":{"login":"maqi","id":568777,"avatar_url":"https://avatars.githubusercontent.com/u/568777?v=3","gravatar_id":"","url":"https://api.github.com/users/maqi","html_url":"https://github.com/maqi","followers_url":"https://api.github.com/users/maqi/followers","following_url":"https://api.github.com/users/maqi/following{/other_user}","gists_url":"https://api.github.com/users/maqi/gists{/gist_id}","starred_url":"https://api.github.com/users/maqi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maqi/subscriptions","organizations_url":"https://api.github.com/users/maqi/orgs","repos_url":"https://api.github.com/users/maqi/repos","events_url":"https://api.github.com/users/maqi/events{/privacy}","received_events_url":"https://api.github.com/users/maqi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"vinipsmaker","id":865914,"avatar_url":"https://avatars.githubusercontent.com/u/865914?v=3","gravatar_id":"","url":"https://api.github.com/users/vinipsmaker","html_url":"https://github.com/vinipsmaker","followers_url":"https://api.github.com/users/vinipsmaker/followers","following_url":"https://api.github.com/users/vinipsmaker/following{/other_user}","gists_url":"https://api.github.com/users/vinipsmaker/gists{/gist_id}","starred_url":"https://api.github.com/users/vinipsmaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vinipsmaker/subscriptions","organizations_url":"https://api.github.com/users/vinipsmaker/orgs","repos_url":"https://api.github.com/users/vinipsmaker/repos","events_url":"https://api.github.com/users/vinipsmaker/events{/privacy}","received_events_url":"https://api.github.com/users/vinipsmaker/received_events","type":"User","site_admin":false},"milestone":null,"comments":12,"created_at":"2015-12-08T08:00:16Z","updated_at":"2015-12-11T19:42:04Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/maidsafe/crust/pulls/442","html_url":"https://github.com/maidsafe/crust/pull/442","diff_url":"https://github.com/maidsafe/crust/pull/442.diff","patch_url":"https://github.com/maidsafe/crust/pull/442.patch"},"body":"\n\n<!-- Reviewable:start -->\n[<img src=\"https://reviewable.io/review_button.png\" height=40 alt=\"Review on Reviewable\"/>](https://reviewable.io/reviews/maidsafe/crust/442)\n<!-- Reviewable:end -->\n"},"comment":{"url":"https://api.github.com/repos/maidsafe/crust/issues/comments/164031023","html_url":"https://github.com/maidsafe/crust/pull/442#issuecomment-164031023","issue_url":"https://api.github.com/repos/maidsafe/crust/issues/442","id":164031023,"user":{"login":"vinipsmaker","id":865914,"avatar_url":"https://avatars.githubusercontent.com/u/865914?v=3","gravatar_id":"","url":"https://api.github.com/users/vinipsmaker","html_url":"https://github.com/vinipsmaker","followers_url":"https://api.github.com/users/vinipsmaker/followers","following_url":"https://api.github.com/users/vinipsmaker/following{/other_user}","gists_url":"https://api.github.com/users/vinipsmaker/gists{/gist_id}","starred_url":"https://api.github.com/users/vinipsmaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vinipsmaker/subscriptions","organizations_url":"https://api.github.com/users/vinipsmaker/orgs","repos_url":"https://api.github.com/users/vinipsmaker/repos","events_url":"https://api.github.com/users/vinipsmaker/events{/privacy}","received_events_url":"https://api.github.com/users/vinipsmaker/received_events","type":"User","site_admin":false},"created_at":"2015-12-11T19:42:04Z","updated_at":"2015-12-11T19:42:04Z","body":"> Is there a reason the \"rust-utp multiplexer\" thread isn't two threads (one for input and one for output)?\r\n\r\nhttps://github.com/meqif/rust-utp/issues/4\r\n\r\n> At the moment you've got [...] Which is pretty ugly.\r\n\r\nAgreed, but the issue should be fixed at https://github.com/meqif/rust-utp/issues/4 .\r\n\r\n> It's ugly that there's a mandatory ~50ms latency on all writes and it's ugly that the thread will be continuously waking up when it has nothing to do.\r\n\r\nNo, it's not for **all** writes. Once we see a message on the write queue, we keep checking for all of them and sending them before we go back to the timeout cycle.\r\n\r\n> Also the connection will drop if it doesn't get used for 15 seconds..?\r\n\r\nI'm also struggling to understand this new code."}}