{"action":"created","comment":{"url":"https://api.github.com/repos/mixpanel/mixpanel-unity/pulls/comments/66525919","id":66525919,"diff_hunk":"@@ -135,7 +135,13 @@ namespace mixpanel\n             nanowww::Response response;\n             if (client.send_request(request, &response))\n             {\n-                mixpanel->log(Mixpanel::LogEntry::LL_TRACE, \"response: \" + response.content());\n+                // Lock on updating the network requests allowed time\n+                {\n+                    std::lock_guard<std::mutex> lock(mutex);","path":"native/source/mixpanel/detail/worker.cpp","position":21,"original_position":21,"commit_id":"4f66a58ea3094e40a195465107c44738c8bef454","original_commit_id":"4f66a58ea3094e40a195465107c44738c8bef454","user":{"login":"yinfeiru","id":7267883,"avatar_url":"https://avatars.githubusercontent.com/u/7267883?v=3","gravatar_id":"","url":"https://api.github.com/users/yinfeiru","html_url":"https://github.com/yinfeiru","followers_url":"https://api.github.com/users/yinfeiru/followers","following_url":"https://api.github.com/users/yinfeiru/following{/other_user}","gists_url":"https://api.github.com/users/yinfeiru/gists{/gist_id}","starred_url":"https://api.github.com/users/yinfeiru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yinfeiru/subscriptions","organizations_url":"https://api.github.com/users/yinfeiru/orgs","repos_url":"https://api.github.com/users/yinfeiru/repos","events_url":"https://api.github.com/users/yinfeiru/events{/privacy}","received_events_url":"https://api.github.com/users/yinfeiru/received_events","type":"User","site_admin":false},"body":"I'm not familiar with this but I guess since this mutex is in a block, it gets released when this block ends, right?","created_at":"2016-06-09T21:32:38Z","updated_at":"2016-06-09T21:32:38Z","html_url":"https://github.com/mixpanel/mixpanel-unity/pull/1#discussion_r66525919","pull_request_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/mixpanel/mixpanel-unity/pulls/comments/66525919"},"html":{"href":"https://github.com/mixpanel/mixpanel-unity/pull/1#discussion_r66525919"},"pull_request":{"href":"https://api.github.com/repos/mixpanel/mixpanel-unity/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/mixpanel/mixpanel-unity/pulls/1","id":73285944,"html_url":"https://github.com/mixpanel/mixpanel-unity/pull/1","diff_url":"https://github.com/mixpanel/mixpanel-unity/pull/1.diff","patch_url":"https://github.com/mixpanel/mixpanel-unity/pull/1.patch","issue_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/issues/1","number":1,"state":"open","locked":false,"title":"Network Hardening","user":{"login":"samgreen","id":276118,"avatar_url":"https://avatars.githubusercontent.com/u/276118?v=3","gravatar_id":"","url":"https://api.github.com/users/samgreen","html_url":"https://github.com/samgreen","followers_url":"https://api.github.com/users/samgreen/followers","following_url":"https://api.github.com/users/samgreen/following{/other_user}","gists_url":"https://api.github.com/users/samgreen/gists{/gist_id}","starred_url":"https://api.github.com/users/samgreen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samgreen/subscriptions","organizations_url":"https://api.github.com/users/samgreen/orgs","repos_url":"https://api.github.com/users/samgreen/repos","events_url":"https://api.github.com/users/samgreen/events{/privacy}","received_events_url":"https://api.github.com/users/samgreen/received_events","type":"User","site_admin":false},"body":"- [X] Respects `Retry-After` HTTP header\r\n- [X] Resolved a bug in [nanowww](https://github.com/tokuhirom/nanowww/pull/1) where `NULL` was incorrectly being returned.\r\n- [X] Added Tests: `RetryAfter`, `BackOffTime`, `FailureRecovery`","created_at":"2016-06-09T21:06:41Z","updated_at":"2016-06-09T21:32:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fe4956eb97cfc6949e14360b77cfdcaf053a2549","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/pulls/1/commits","review_comments_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/pulls/1/comments","review_comment_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/issues/1/comments","statuses_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/statuses/4f66a58ea3094e40a195465107c44738c8bef454","head":{"label":"mixpanel:network_hardening","ref":"network_hardening","sha":"4f66a58ea3094e40a195465107c44738c8bef454","user":{"login":"mixpanel","id":63653,"avatar_url":"https://avatars.githubusercontent.com/u/63653?v=3","gravatar_id":"","url":"https://api.github.com/users/mixpanel","html_url":"https://github.com/mixpanel","followers_url":"https://api.github.com/users/mixpanel/followers","following_url":"https://api.github.com/users/mixpanel/following{/other_user}","gists_url":"https://api.github.com/users/mixpanel/gists{/gist_id}","starred_url":"https://api.github.com/users/mixpanel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mixpanel/subscriptions","organizations_url":"https://api.github.com/users/mixpanel/orgs","repos_url":"https://api.github.com/users/mixpanel/repos","events_url":"https://api.github.com/users/mixpanel/events{/privacy}","received_events_url":"https://api.github.com/users/mixpanel/received_events","type":"Organization","site_admin":false},"repo":{"id":59866766,"name":"mixpanel-unity","full_name":"mixpanel/mixpanel-unity","owner":{"login":"mixpanel","id":63653,"avatar_url":"https://avatars.githubusercontent.com/u/63653?v=3","gravatar_id":"","url":"https://api.github.com/users/mixpanel","html_url":"https://github.com/mixpanel","followers_url":"https://api.github.com/users/mixpanel/followers","following_url":"https://api.github.com/users/mixpanel/following{/other_user}","gists_url":"https://api.github.com/users/mixpanel/gists{/gist_id}","starred_url":"https://api.github.com/users/mixpanel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mixpanel/subscriptions","organizations_url":"https://api.github.com/users/mixpanel/orgs","repos_url":"https://api.github.com/users/mixpanel/repos","events_url":"https://api.github.com/users/mixpanel/events{/privacy}","received_events_url":"https://api.github.com/users/mixpanel/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mixpanel/mixpanel-unity","description":"Unity SDK for Mixpanel Analytics","fork":false,"url":"https://api.github.com/repos/mixpanel/mixpanel-unity","forks_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/forks","keys_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/teams","hooks_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/hooks","issue_events_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/issues/events{/number}","events_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/events","assignees_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/assignees{/user}","branches_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/branches{/branch}","tags_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/tags","blobs_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/git/refs{/sha}","trees_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/statuses/{sha}","languages_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/languages","stargazers_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/stargazers","contributors_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/contributors","subscribers_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/subscribers","subscription_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/subscription","commits_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/commits{/sha}","git_commits_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/git/commits{/sha}","comments_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/comments{/number}","issue_comment_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/issues/comments{/number}","contents_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/contents/{+path}","compare_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/merges","archive_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/downloads","issues_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/issues{/number}","pulls_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/pulls{/number}","milestones_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/milestones{/number}","notifications_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/labels{/name}","releases_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/releases{/id}","deployments_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/deployments","created_at":"2016-05-27T22:39:01Z","updated_at":"2016-06-03T19:47:46Z","pushed_at":"2016-06-09T21:06:41Z","git_url":"git://github.com/mixpanel/mixpanel-unity.git","ssh_url":"git@github.com:mixpanel/mixpanel-unity.git","clone_url":"https://github.com/mixpanel/mixpanel-unity.git","svn_url":"https://github.com/mixpanel/mixpanel-unity","homepage":"https://mixpanel.com/help/reference/unity","size":1497,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"mixpanel:master","ref":"master","sha":"159b49d4fa727391746933281cf8a62eb8b678af","user":{"login":"mixpanel","id":63653,"avatar_url":"https://avatars.githubusercontent.com/u/63653?v=3","gravatar_id":"","url":"https://api.github.com/users/mixpanel","html_url":"https://github.com/mixpanel","followers_url":"https://api.github.com/users/mixpanel/followers","following_url":"https://api.github.com/users/mixpanel/following{/other_user}","gists_url":"https://api.github.com/users/mixpanel/gists{/gist_id}","starred_url":"https://api.github.com/users/mixpanel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mixpanel/subscriptions","organizations_url":"https://api.github.com/users/mixpanel/orgs","repos_url":"https://api.github.com/users/mixpanel/repos","events_url":"https://api.github.com/users/mixpanel/events{/privacy}","received_events_url":"https://api.github.com/users/mixpanel/received_events","type":"Organization","site_admin":false},"repo":{"id":59866766,"name":"mixpanel-unity","full_name":"mixpanel/mixpanel-unity","owner":{"login":"mixpanel","id":63653,"avatar_url":"https://avatars.githubusercontent.com/u/63653?v=3","gravatar_id":"","url":"https://api.github.com/users/mixpanel","html_url":"https://github.com/mixpanel","followers_url":"https://api.github.com/users/mixpanel/followers","following_url":"https://api.github.com/users/mixpanel/following{/other_user}","gists_url":"https://api.github.com/users/mixpanel/gists{/gist_id}","starred_url":"https://api.github.com/users/mixpanel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mixpanel/subscriptions","organizations_url":"https://api.github.com/users/mixpanel/orgs","repos_url":"https://api.github.com/users/mixpanel/repos","events_url":"https://api.github.com/users/mixpanel/events{/privacy}","received_events_url":"https://api.github.com/users/mixpanel/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mixpanel/mixpanel-unity","description":"Unity SDK for Mixpanel Analytics","fork":false,"url":"https://api.github.com/repos/mixpanel/mixpanel-unity","forks_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/forks","keys_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/teams","hooks_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/hooks","issue_events_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/issues/events{/number}","events_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/events","assignees_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/assignees{/user}","branches_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/branches{/branch}","tags_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/tags","blobs_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/git/refs{/sha}","trees_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/statuses/{sha}","languages_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/languages","stargazers_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/stargazers","contributors_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/contributors","subscribers_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/subscribers","subscription_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/subscription","commits_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/commits{/sha}","git_commits_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/git/commits{/sha}","comments_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/comments{/number}","issue_comment_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/issues/comments{/number}","contents_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/contents/{+path}","compare_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/merges","archive_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/downloads","issues_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/issues{/number}","pulls_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/pulls{/number}","milestones_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/milestones{/number}","notifications_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/labels{/name}","releases_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/releases{/id}","deployments_url":"https://api.github.com/repos/mixpanel/mixpanel-unity/deployments","created_at":"2016-05-27T22:39:01Z","updated_at":"2016-06-03T19:47:46Z","pushed_at":"2016-06-09T21:06:41Z","git_url":"git://github.com/mixpanel/mixpanel-unity.git","ssh_url":"git@github.com:mixpanel/mixpanel-unity.git","clone_url":"https://github.com/mixpanel/mixpanel-unity.git","svn_url":"https://github.com/mixpanel/mixpanel-unity","homepage":"https://mixpanel.com/help/reference/unity","size":1497,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mixpanel/mixpanel-unity/pulls/1"},"html":{"href":"https://github.com/mixpanel/mixpanel-unity/pull/1"},"issue":{"href":"https://api.github.com/repos/mixpanel/mixpanel-unity/issues/1"},"comments":{"href":"https://api.github.com/repos/mixpanel/mixpanel-unity/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/mixpanel/mixpanel-unity/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/mixpanel/mixpanel-unity/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mixpanel/mixpanel-unity/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/mixpanel/mixpanel-unity/statuses/4f66a58ea3094e40a195465107c44738c8bef454"}}}}
{"actor":{"display_login":"yinfeiru"}}