{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/awakenetworks/turnpike/pulls/1","id":84367658,"html_url":"https://github.com/awakenetworks/turnpike/pull/1","diff_url":"https://github.com/awakenetworks/turnpike/pull/1.diff","patch_url":"https://github.com/awakenetworks/turnpike/pull/1.patch","issue_url":"https://api.github.com/repos/awakenetworks/turnpike/issues/1","number":1,"state":"open","locked":false,"title":"Protect Dealer data structures with a Mutex","user":{"login":"yanfali","id":2275667,"avatar_url":"https://avatars.githubusercontent.com/u/2275667?v=3","gravatar_id":"","url":"https://api.github.com/users/yanfali","html_url":"https://github.com/yanfali","followers_url":"https://api.github.com/users/yanfali/followers","following_url":"https://api.github.com/users/yanfali/following{/other_user}","gists_url":"https://api.github.com/users/yanfali/gists{/gist_id}","starred_url":"https://api.github.com/users/yanfali/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yanfali/subscriptions","organizations_url":"https://api.github.com/users/yanfali/orgs","repos_url":"https://api.github.com/users/yanfali/repos","events_url":"https://api.github.com/users/yanfali/events{/privacy}","received_events_url":"https://api.github.com/users/yanfali/received_events","type":"User","site_admin":false},"body":" - in a highly concurrent environment, it is possible in the current\r\n   implementation for multiple go routines to access and mutate the same\r\n   data structures. Add a mutex to the dealer struct and use it on entry\r\n   to a mutation method to ensure data structures are protected\r\n   adequately from multiple routines.\r\n - Add a unit test to exercise concurrency on RPC.","created_at":"2016-09-07T20:28:30Z","updated_at":"2016-09-07T20:28:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"briantrice","id":19371,"avatar_url":"https://avatars.githubusercontent.com/u/19371?v=3","gravatar_id":"","url":"https://api.github.com/users/briantrice","html_url":"https://github.com/briantrice","followers_url":"https://api.github.com/users/briantrice/followers","following_url":"https://api.github.com/users/briantrice/following{/other_user}","gists_url":"https://api.github.com/users/briantrice/gists{/gist_id}","starred_url":"https://api.github.com/users/briantrice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/briantrice/subscriptions","organizations_url":"https://api.github.com/users/briantrice/orgs","repos_url":"https://api.github.com/users/briantrice/repos","events_url":"https://api.github.com/users/briantrice/events{/privacy}","received_events_url":"https://api.github.com/users/briantrice/received_events","type":"User","site_admin":false},"assignees":[{"login":"briantrice","id":19371,"avatar_url":"https://avatars.githubusercontent.com/u/19371?v=3","gravatar_id":"","url":"https://api.github.com/users/briantrice","html_url":"https://github.com/briantrice","followers_url":"https://api.github.com/users/briantrice/followers","following_url":"https://api.github.com/users/briantrice/following{/other_user}","gists_url":"https://api.github.com/users/briantrice/gists{/gist_id}","starred_url":"https://api.github.com/users/briantrice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/briantrice/subscriptions","organizations_url":"https://api.github.com/users/briantrice/orgs","repos_url":"https://api.github.com/users/briantrice/repos","events_url":"https://api.github.com/users/briantrice/events{/privacy}","received_events_url":"https://api.github.com/users/briantrice/received_events","type":"User","site_admin":false},{"login":"blazzy","id":238374,"avatar_url":"https://avatars.githubusercontent.com/u/238374?v=3","gravatar_id":"","url":"https://api.github.com/users/blazzy","html_url":"https://github.com/blazzy","followers_url":"https://api.github.com/users/blazzy/followers","following_url":"https://api.github.com/users/blazzy/following{/other_user}","gists_url":"https://api.github.com/users/blazzy/gists{/gist_id}","starred_url":"https://api.github.com/users/blazzy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blazzy/subscriptions","organizations_url":"https://api.github.com/users/blazzy/orgs","repos_url":"https://api.github.com/users/blazzy/repos","events_url":"https://api.github.com/users/blazzy/events{/privacy}","received_events_url":"https://api.github.com/users/blazzy/received_events","type":"User","site_admin":false},{"login":"softwaresimian","id":956767,"avatar_url":"https://avatars.githubusercontent.com/u/956767?v=3","gravatar_id":"","url":"https://api.github.com/users/softwaresimian","html_url":"https://github.com/softwaresimian","followers_url":"https://api.github.com/users/softwaresimian/followers","following_url":"https://api.github.com/users/softwaresimian/following{/other_user}","gists_url":"https://api.github.com/users/softwaresimian/gists{/gist_id}","starred_url":"https://api.github.com/users/softwaresimian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/softwaresimian/subscriptions","organizations_url":"https://api.github.com/users/softwaresimian/orgs","repos_url":"https://api.github.com/users/softwaresimian/repos","events_url":"https://api.github.com/users/softwaresimian/events{/privacy}","received_events_url":"https://api.github.com/users/softwaresimian/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/awakenetworks/turnpike/pulls/1/commits","review_comments_url":"https://api.github.com/repos/awakenetworks/turnpike/pulls/1/comments","review_comment_url":"https://api.github.com/repos/awakenetworks/turnpike/pulls/comments{/number}","comments_url":"https://api.github.com/repos/awakenetworks/turnpike/issues/1/comments","statuses_url":"https://api.github.com/repos/awakenetworks/turnpike/statuses/14374389f3bf29e268f420b0f0f213530f6d4553","head":{"label":"awakenetworks:yanfali-protect-dealer-data-structures","ref":"yanfali-protect-dealer-data-structures","sha":"14374389f3bf29e268f420b0f0f213530f6d4553","user":{"login":"awakenetworks","id":9668725,"avatar_url":"https://avatars.githubusercontent.com/u/9668725?v=3","gravatar_id":"","url":"https://api.github.com/users/awakenetworks","html_url":"https://github.com/awakenetworks","followers_url":"https://api.github.com/users/awakenetworks/followers","following_url":"https://api.github.com/users/awakenetworks/following{/other_user}","gists_url":"https://api.github.com/users/awakenetworks/gists{/gist_id}","starred_url":"https://api.github.com/users/awakenetworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awakenetworks/subscriptions","organizations_url":"https://api.github.com/users/awakenetworks/orgs","repos_url":"https://api.github.com/users/awakenetworks/repos","events_url":"https://api.github.com/users/awakenetworks/events{/privacy}","received_events_url":"https://api.github.com/users/awakenetworks/received_events","type":"Organization","site_admin":false},"repo":{"id":53968367,"name":"turnpike","full_name":"awakenetworks/turnpike","owner":{"login":"awakenetworks","id":9668725,"avatar_url":"https://avatars.githubusercontent.com/u/9668725?v=3","gravatar_id":"","url":"https://api.github.com/users/awakenetworks","html_url":"https://github.com/awakenetworks","followers_url":"https://api.github.com/users/awakenetworks/followers","following_url":"https://api.github.com/users/awakenetworks/following{/other_user}","gists_url":"https://api.github.com/users/awakenetworks/gists{/gist_id}","starred_url":"https://api.github.com/users/awakenetworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awakenetworks/subscriptions","organizations_url":"https://api.github.com/users/awakenetworks/orgs","repos_url":"https://api.github.com/users/awakenetworks/repos","events_url":"https://api.github.com/users/awakenetworks/events{/privacy}","received_events_url":"https://api.github.com/users/awakenetworks/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/awakenetworks/turnpike","description":"Go implementation of a WAMP (Web Application Messaging Protocol) client and router","fork":true,"url":"https://api.github.com/repos/awakenetworks/turnpike","forks_url":"https://api.github.com/repos/awakenetworks/turnpike/forks","keys_url":"https://api.github.com/repos/awakenetworks/turnpike/keys{/key_id}","collaborators_url":"https://api.github.com/repos/awakenetworks/turnpike/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/awakenetworks/turnpike/teams","hooks_url":"https://api.github.com/repos/awakenetworks/turnpike/hooks","issue_events_url":"https://api.github.com/repos/awakenetworks/turnpike/issues/events{/number}","events_url":"https://api.github.com/repos/awakenetworks/turnpike/events","assignees_url":"https://api.github.com/repos/awakenetworks/turnpike/assignees{/user}","branches_url":"https://api.github.com/repos/awakenetworks/turnpike/branches{/branch}","tags_url":"https://api.github.com/repos/awakenetworks/turnpike/tags","blobs_url":"https://api.github.com/repos/awakenetworks/turnpike/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/awakenetworks/turnpike/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/awakenetworks/turnpike/git/refs{/sha}","trees_url":"https://api.github.com/repos/awakenetworks/turnpike/git/trees{/sha}","statuses_url":"https://api.github.com/repos/awakenetworks/turnpike/statuses/{sha}","languages_url":"https://api.github.com/repos/awakenetworks/turnpike/languages","stargazers_url":"https://api.github.com/repos/awakenetworks/turnpike/stargazers","contributors_url":"https://api.github.com/repos/awakenetworks/turnpike/contributors","subscribers_url":"https://api.github.com/repos/awakenetworks/turnpike/subscribers","subscription_url":"https://api.github.com/repos/awakenetworks/turnpike/subscription","commits_url":"https://api.github.com/repos/awakenetworks/turnpike/commits{/sha}","git_commits_url":"https://api.github.com/repos/awakenetworks/turnpike/git/commits{/sha}","comments_url":"https://api.github.com/repos/awakenetworks/turnpike/comments{/number}","issue_comment_url":"https://api.github.com/repos/awakenetworks/turnpike/issues/comments{/number}","contents_url":"https://api.github.com/repos/awakenetworks/turnpike/contents/{+path}","compare_url":"https://api.github.com/repos/awakenetworks/turnpike/compare/{base}...{head}","merges_url":"https://api.github.com/repos/awakenetworks/turnpike/merges","archive_url":"https://api.github.com/repos/awakenetworks/turnpike/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/awakenetworks/turnpike/downloads","issues_url":"https://api.github.com/repos/awakenetworks/turnpike/issues{/number}","pulls_url":"https://api.github.com/repos/awakenetworks/turnpike/pulls{/number}","milestones_url":"https://api.github.com/repos/awakenetworks/turnpike/milestones{/number}","notifications_url":"https://api.github.com/repos/awakenetworks/turnpike/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/awakenetworks/turnpike/labels{/name}","releases_url":"https://api.github.com/repos/awakenetworks/turnpike/releases{/id}","deployments_url":"https://api.github.com/repos/awakenetworks/turnpike/deployments","created_at":"2016-03-15T18:21:25Z","updated_at":"2016-05-18T00:48:24Z","pushed_at":"2016-09-07T20:28:31Z","git_url":"git://github.com/awakenetworks/turnpike.git","ssh_url":"git@github.com:awakenetworks/turnpike.git","clone_url":"https://github.com/awakenetworks/turnpike.git","svn_url":"https://github.com/awakenetworks/turnpike","homepage":"","size":755,"stargazers_count":1,"watchers_count":1,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"race-fixes"}},"base":{"label":"awakenetworks:race-fixes","ref":"race-fixes","sha":"64b70d8da46cde03244438e035c3c10983d8d587","user":{"login":"awakenetworks","id":9668725,"avatar_url":"https://avatars.githubusercontent.com/u/9668725?v=3","gravatar_id":"","url":"https://api.github.com/users/awakenetworks","html_url":"https://github.com/awakenetworks","followers_url":"https://api.github.com/users/awakenetworks/followers","following_url":"https://api.github.com/users/awakenetworks/following{/other_user}","gists_url":"https://api.github.com/users/awakenetworks/gists{/gist_id}","starred_url":"https://api.github.com/users/awakenetworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awakenetworks/subscriptions","organizations_url":"https://api.github.com/users/awakenetworks/orgs","repos_url":"https://api.github.com/users/awakenetworks/repos","events_url":"https://api.github.com/users/awakenetworks/events{/privacy}","received_events_url":"https://api.github.com/users/awakenetworks/received_events","type":"Organization","site_admin":false},"repo":{"id":53968367,"name":"turnpike","full_name":"awakenetworks/turnpike","owner":{"login":"awakenetworks","id":9668725,"avatar_url":"https://avatars.githubusercontent.com/u/9668725?v=3","gravatar_id":"","url":"https://api.github.com/users/awakenetworks","html_url":"https://github.com/awakenetworks","followers_url":"https://api.github.com/users/awakenetworks/followers","following_url":"https://api.github.com/users/awakenetworks/following{/other_user}","gists_url":"https://api.github.com/users/awakenetworks/gists{/gist_id}","starred_url":"https://api.github.com/users/awakenetworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awakenetworks/subscriptions","organizations_url":"https://api.github.com/users/awakenetworks/orgs","repos_url":"https://api.github.com/users/awakenetworks/repos","events_url":"https://api.github.com/users/awakenetworks/events{/privacy}","received_events_url":"https://api.github.com/users/awakenetworks/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/awakenetworks/turnpike","description":"Go implementation of a WAMP (Web Application Messaging Protocol) client and router","fork":true,"url":"https://api.github.com/repos/awakenetworks/turnpike","forks_url":"https://api.github.com/repos/awakenetworks/turnpike/forks","keys_url":"https://api.github.com/repos/awakenetworks/turnpike/keys{/key_id}","collaborators_url":"https://api.github.com/repos/awakenetworks/turnpike/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/awakenetworks/turnpike/teams","hooks_url":"https://api.github.com/repos/awakenetworks/turnpike/hooks","issue_events_url":"https://api.github.com/repos/awakenetworks/turnpike/issues/events{/number}","events_url":"https://api.github.com/repos/awakenetworks/turnpike/events","assignees_url":"https://api.github.com/repos/awakenetworks/turnpike/assignees{/user}","branches_url":"https://api.github.com/repos/awakenetworks/turnpike/branches{/branch}","tags_url":"https://api.github.com/repos/awakenetworks/turnpike/tags","blobs_url":"https://api.github.com/repos/awakenetworks/turnpike/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/awakenetworks/turnpike/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/awakenetworks/turnpike/git/refs{/sha}","trees_url":"https://api.github.com/repos/awakenetworks/turnpike/git/trees{/sha}","statuses_url":"https://api.github.com/repos/awakenetworks/turnpike/statuses/{sha}","languages_url":"https://api.github.com/repos/awakenetworks/turnpike/languages","stargazers_url":"https://api.github.com/repos/awakenetworks/turnpike/stargazers","contributors_url":"https://api.github.com/repos/awakenetworks/turnpike/contributors","subscribers_url":"https://api.github.com/repos/awakenetworks/turnpike/subscribers","subscription_url":"https://api.github.com/repos/awakenetworks/turnpike/subscription","commits_url":"https://api.github.com/repos/awakenetworks/turnpike/commits{/sha}","git_commits_url":"https://api.github.com/repos/awakenetworks/turnpike/git/commits{/sha}","comments_url":"https://api.github.com/repos/awakenetworks/turnpike/comments{/number}","issue_comment_url":"https://api.github.com/repos/awakenetworks/turnpike/issues/comments{/number}","contents_url":"https://api.github.com/repos/awakenetworks/turnpike/contents/{+path}","compare_url":"https://api.github.com/repos/awakenetworks/turnpike/compare/{base}...{head}","merges_url":"https://api.github.com/repos/awakenetworks/turnpike/merges","archive_url":"https://api.github.com/repos/awakenetworks/turnpike/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/awakenetworks/turnpike/downloads","issues_url":"https://api.github.com/repos/awakenetworks/turnpike/issues{/number}","pulls_url":"https://api.github.com/repos/awakenetworks/turnpike/pulls{/number}","milestones_url":"https://api.github.com/repos/awakenetworks/turnpike/milestones{/number}","notifications_url":"https://api.github.com/repos/awakenetworks/turnpike/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/awakenetworks/turnpike/labels{/name}","releases_url":"https://api.github.com/repos/awakenetworks/turnpike/releases{/id}","deployments_url":"https://api.github.com/repos/awakenetworks/turnpike/deployments","created_at":"2016-03-15T18:21:25Z","updated_at":"2016-05-18T00:48:24Z","pushed_at":"2016-09-07T20:28:31Z","git_url":"git://github.com/awakenetworks/turnpike.git","ssh_url":"git@github.com:awakenetworks/turnpike.git","clone_url":"https://github.com/awakenetworks/turnpike.git","svn_url":"https://github.com/awakenetworks/turnpike","homepage":"","size":755,"stargazers_count":1,"watchers_count":1,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"race-fixes"}},"_links":{"self":{"href":"https://api.github.com/repos/awakenetworks/turnpike/pulls/1"},"html":{"href":"https://github.com/awakenetworks/turnpike/pull/1"},"issue":{"href":"https://api.github.com/repos/awakenetworks/turnpike/issues/1"},"comments":{"href":"https://api.github.com/repos/awakenetworks/turnpike/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/awakenetworks/turnpike/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/awakenetworks/turnpike/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/awakenetworks/turnpike/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/awakenetworks/turnpike/statuses/14374389f3bf29e268f420b0f0f213530f6d4553"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":81,"deletions":1,"changed_files":2}}
{"actor":{"display_login":"yanfali"}}