{"action":"created","comment":{"url":"https://api.github.com/repos/nsqio/pynsq/pulls/comments/44808312","id":44808312,"diff_hunk":"@@ -468,6 +468,9 @@ def _on_data(self, data, **kwargs):\n             self.in_flight += 1\n \n             message = protocol.decode_message(data)\n+            if self.msg_timeout:\n+                message._set_timeout(self)","path":"nsq/async.py","position":5,"original_position":5,"commit_id":"3887ba81a00c8f617a349919d1e4f4615c6dd3ae","original_commit_id":"3887ba81a00c8f617a349919d1e4f4615c6dd3ae","user":{"login":"mreiferson","id":187441,"avatar_url":"https://avatars.githubusercontent.com/u/187441?v=3","gravatar_id":"","url":"https://api.github.com/users/mreiferson","html_url":"https://github.com/mreiferson","followers_url":"https://api.github.com/users/mreiferson/followers","following_url":"https://api.github.com/users/mreiferson/following{/other_user}","gists_url":"https://api.github.com/users/mreiferson/gists{/gist_id}","starred_url":"https://api.github.com/users/mreiferson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mreiferson/subscriptions","organizations_url":"https://api.github.com/users/mreiferson/orgs","repos_url":"https://api.github.com/users/mreiferson/repos","events_url":"https://api.github.com/users/mreiferson/events{/privacy}","received_events_url":"https://api.github.com/users/mreiferson/received_events","type":"User","site_admin":false},"body":"(and would probably obviate the need for this method at all)","created_at":"2015-11-13T17:19:30Z","updated_at":"2015-11-13T17:19:30Z","html_url":"https://github.com/nsqio/pynsq/pull/132#discussion_r44808312","pull_request_url":"https://api.github.com/repos/nsqio/pynsq/pulls/132","_links":{"self":{"href":"https://api.github.com/repos/nsqio/pynsq/pulls/comments/44808312"},"html":{"href":"https://github.com/nsqio/pynsq/pull/132#discussion_r44808312"},"pull_request":{"href":"https://api.github.com/repos/nsqio/pynsq/pulls/132"}}},"pull_request":{"url":"https://api.github.com/repos/nsqio/pynsq/pulls/132","id":50580933,"html_url":"https://github.com/nsqio/pynsq/pull/132","diff_url":"https://github.com/nsqio/pynsq/pull/132.diff","patch_url":"https://github.com/nsqio/pynsq/pull/132.patch","issue_url":"https://api.github.com/repos/nsqio/pynsq/issues/132","number":132,"state":"open","locked":false,"title":"Adding message timeout handling","user":{"login":"akellehe","id":227095,"avatar_url":"https://avatars.githubusercontent.com/u/227095?v=3","gravatar_id":"","url":"https://api.github.com/users/akellehe","html_url":"https://github.com/akellehe","followers_url":"https://api.github.com/users/akellehe/followers","following_url":"https://api.github.com/users/akellehe/following{/other_user}","gists_url":"https://api.github.com/users/akellehe/gists{/gist_id}","starred_url":"https://api.github.com/users/akellehe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akellehe/subscriptions","organizations_url":"https://api.github.com/users/akellehe/orgs","repos_url":"https://api.github.com/users/akellehe/repos","events_url":"https://api.github.com/users/akellehe/events{/privacy}","received_events_url":"https://api.github.com/users/akellehe/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-12T22:57:33Z","updated_at":"2015-11-13T17:19:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ba269b3eed8a16a58f92d4f67d53f07f010555ea","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nsqio/pynsq/pulls/132/commits","review_comments_url":"https://api.github.com/repos/nsqio/pynsq/pulls/132/comments","review_comment_url":"https://api.github.com/repos/nsqio/pynsq/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nsqio/pynsq/issues/132/comments","statuses_url":"https://api.github.com/repos/nsqio/pynsq/statuses/3887ba81a00c8f617a349919d1e4f4615c6dd3ae","head":{"label":"akellehe:message-timeout-callback-and-state-accessor","ref":"message-timeout-callback-and-state-accessor","sha":"3887ba81a00c8f617a349919d1e4f4615c6dd3ae","user":{"login":"akellehe","id":227095,"avatar_url":"https://avatars.githubusercontent.com/u/227095?v=3","gravatar_id":"","url":"https://api.github.com/users/akellehe","html_url":"https://github.com/akellehe","followers_url":"https://api.github.com/users/akellehe/followers","following_url":"https://api.github.com/users/akellehe/following{/other_user}","gists_url":"https://api.github.com/users/akellehe/gists{/gist_id}","starred_url":"https://api.github.com/users/akellehe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akellehe/subscriptions","organizations_url":"https://api.github.com/users/akellehe/orgs","repos_url":"https://api.github.com/users/akellehe/repos","events_url":"https://api.github.com/users/akellehe/events{/privacy}","received_events_url":"https://api.github.com/users/akellehe/received_events","type":"User","site_admin":false},"repo":{"id":46014410,"name":"pynsq","full_name":"akellehe/pynsq","owner":{"login":"akellehe","id":227095,"avatar_url":"https://avatars.githubusercontent.com/u/227095?v=3","gravatar_id":"","url":"https://api.github.com/users/akellehe","html_url":"https://github.com/akellehe","followers_url":"https://api.github.com/users/akellehe/followers","following_url":"https://api.github.com/users/akellehe/following{/other_user}","gists_url":"https://api.github.com/users/akellehe/gists{/gist_id}","starred_url":"https://api.github.com/users/akellehe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akellehe/subscriptions","organizations_url":"https://api.github.com/users/akellehe/orgs","repos_url":"https://api.github.com/users/akellehe/repos","events_url":"https://api.github.com/users/akellehe/events{/privacy}","received_events_url":"https://api.github.com/users/akellehe/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/akellehe/pynsq","description":"The official Python client library for NSQ","fork":true,"url":"https://api.github.com/repos/akellehe/pynsq","forks_url":"https://api.github.com/repos/akellehe/pynsq/forks","keys_url":"https://api.github.com/repos/akellehe/pynsq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/akellehe/pynsq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/akellehe/pynsq/teams","hooks_url":"https://api.github.com/repos/akellehe/pynsq/hooks","issue_events_url":"https://api.github.com/repos/akellehe/pynsq/issues/events{/number}","events_url":"https://api.github.com/repos/akellehe/pynsq/events","assignees_url":"https://api.github.com/repos/akellehe/pynsq/assignees{/user}","branches_url":"https://api.github.com/repos/akellehe/pynsq/branches{/branch}","tags_url":"https://api.github.com/repos/akellehe/pynsq/tags","blobs_url":"https://api.github.com/repos/akellehe/pynsq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/akellehe/pynsq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/akellehe/pynsq/git/refs{/sha}","trees_url":"https://api.github.com/repos/akellehe/pynsq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/akellehe/pynsq/statuses/{sha}","languages_url":"https://api.github.com/repos/akellehe/pynsq/languages","stargazers_url":"https://api.github.com/repos/akellehe/pynsq/stargazers","contributors_url":"https://api.github.com/repos/akellehe/pynsq/contributors","subscribers_url":"https://api.github.com/repos/akellehe/pynsq/subscribers","subscription_url":"https://api.github.com/repos/akellehe/pynsq/subscription","commits_url":"https://api.github.com/repos/akellehe/pynsq/commits{/sha}","git_commits_url":"https://api.github.com/repos/akellehe/pynsq/git/commits{/sha}","comments_url":"https://api.github.com/repos/akellehe/pynsq/comments{/number}","issue_comment_url":"https://api.github.com/repos/akellehe/pynsq/issues/comments{/number}","contents_url":"https://api.github.com/repos/akellehe/pynsq/contents/{+path}","compare_url":"https://api.github.com/repos/akellehe/pynsq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/akellehe/pynsq/merges","archive_url":"https://api.github.com/repos/akellehe/pynsq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/akellehe/pynsq/downloads","issues_url":"https://api.github.com/repos/akellehe/pynsq/issues{/number}","pulls_url":"https://api.github.com/repos/akellehe/pynsq/pulls{/number}","milestones_url":"https://api.github.com/repos/akellehe/pynsq/milestones{/number}","notifications_url":"https://api.github.com/repos/akellehe/pynsq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/akellehe/pynsq/labels{/name}","releases_url":"https://api.github.com/repos/akellehe/pynsq/releases{/id}","created_at":"2015-11-11T22:41:20Z","updated_at":"2015-11-11T22:41:20Z","pushed_at":"2015-11-12T23:01:57Z","git_url":"git://github.com/akellehe/pynsq.git","ssh_url":"git@github.com:akellehe/pynsq.git","clone_url":"https://github.com/akellehe/pynsq.git","svn_url":"https://github.com/akellehe/pynsq","homepage":"","size":1231,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"nsqio:master","ref":"master","sha":"8789084b3beb638c547cf8ed4b2a70bb4c982278","user":{"login":"nsqio","id":8295919,"avatar_url":"https://avatars.githubusercontent.com/u/8295919?v=3","gravatar_id":"","url":"https://api.github.com/users/nsqio","html_url":"https://github.com/nsqio","followers_url":"https://api.github.com/users/nsqio/followers","following_url":"https://api.github.com/users/nsqio/following{/other_user}","gists_url":"https://api.github.com/users/nsqio/gists{/gist_id}","starred_url":"https://api.github.com/users/nsqio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nsqio/subscriptions","organizations_url":"https://api.github.com/users/nsqio/orgs","repos_url":"https://api.github.com/users/nsqio/repos","events_url":"https://api.github.com/users/nsqio/events{/privacy}","received_events_url":"https://api.github.com/users/nsqio/received_events","type":"Organization","site_admin":false},"repo":{"id":6475842,"name":"pynsq","full_name":"nsqio/pynsq","owner":{"login":"nsqio","id":8295919,"avatar_url":"https://avatars.githubusercontent.com/u/8295919?v=3","gravatar_id":"","url":"https://api.github.com/users/nsqio","html_url":"https://github.com/nsqio","followers_url":"https://api.github.com/users/nsqio/followers","following_url":"https://api.github.com/users/nsqio/following{/other_user}","gists_url":"https://api.github.com/users/nsqio/gists{/gist_id}","starred_url":"https://api.github.com/users/nsqio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nsqio/subscriptions","organizations_url":"https://api.github.com/users/nsqio/orgs","repos_url":"https://api.github.com/users/nsqio/repos","events_url":"https://api.github.com/users/nsqio/events{/privacy}","received_events_url":"https://api.github.com/users/nsqio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nsqio/pynsq","description":"The official Python client library for NSQ","fork":false,"url":"https://api.github.com/repos/nsqio/pynsq","forks_url":"https://api.github.com/repos/nsqio/pynsq/forks","keys_url":"https://api.github.com/repos/nsqio/pynsq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nsqio/pynsq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nsqio/pynsq/teams","hooks_url":"https://api.github.com/repos/nsqio/pynsq/hooks","issue_events_url":"https://api.github.com/repos/nsqio/pynsq/issues/events{/number}","events_url":"https://api.github.com/repos/nsqio/pynsq/events","assignees_url":"https://api.github.com/repos/nsqio/pynsq/assignees{/user}","branches_url":"https://api.github.com/repos/nsqio/pynsq/branches{/branch}","tags_url":"https://api.github.com/repos/nsqio/pynsq/tags","blobs_url":"https://api.github.com/repos/nsqio/pynsq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nsqio/pynsq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nsqio/pynsq/git/refs{/sha}","trees_url":"https://api.github.com/repos/nsqio/pynsq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nsqio/pynsq/statuses/{sha}","languages_url":"https://api.github.com/repos/nsqio/pynsq/languages","stargazers_url":"https://api.github.com/repos/nsqio/pynsq/stargazers","contributors_url":"https://api.github.com/repos/nsqio/pynsq/contributors","subscribers_url":"https://api.github.com/repos/nsqio/pynsq/subscribers","subscription_url":"https://api.github.com/repos/nsqio/pynsq/subscription","commits_url":"https://api.github.com/repos/nsqio/pynsq/commits{/sha}","git_commits_url":"https://api.github.com/repos/nsqio/pynsq/git/commits{/sha}","comments_url":"https://api.github.com/repos/nsqio/pynsq/comments{/number}","issue_comment_url":"https://api.github.com/repos/nsqio/pynsq/issues/comments{/number}","contents_url":"https://api.github.com/repos/nsqio/pynsq/contents/{+path}","compare_url":"https://api.github.com/repos/nsqio/pynsq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nsqio/pynsq/merges","archive_url":"https://api.github.com/repos/nsqio/pynsq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nsqio/pynsq/downloads","issues_url":"https://api.github.com/repos/nsqio/pynsq/issues{/number}","pulls_url":"https://api.github.com/repos/nsqio/pynsq/pulls{/number}","milestones_url":"https://api.github.com/repos/nsqio/pynsq/milestones{/number}","notifications_url":"https://api.github.com/repos/nsqio/pynsq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nsqio/pynsq/labels{/name}","releases_url":"https://api.github.com/repos/nsqio/pynsq/releases{/id}","created_at":"2012-10-31T15:09:40Z","updated_at":"2015-11-09T18:11:56Z","pushed_at":"2015-11-12T23:01:59Z","git_url":"git://github.com/nsqio/pynsq.git","ssh_url":"git@github.com:nsqio/pynsq.git","clone_url":"https://github.com/nsqio/pynsq.git","svn_url":"https://github.com/nsqio/pynsq","homepage":"","size":1231,"stargazers_count":152,"watchers_count":152,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":63,"mirror_url":null,"open_issues_count":7,"forks":63,"open_issues":7,"watchers":152,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nsqio/pynsq/pulls/132"},"html":{"href":"https://github.com/nsqio/pynsq/pull/132"},"issue":{"href":"https://api.github.com/repos/nsqio/pynsq/issues/132"},"comments":{"href":"https://api.github.com/repos/nsqio/pynsq/issues/132/comments"},"review_comments":{"href":"https://api.github.com/repos/nsqio/pynsq/pulls/132/comments"},"review_comment":{"href":"https://api.github.com/repos/nsqio/pynsq/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nsqio/pynsq/pulls/132/commits"},"statuses":{"href":"https://api.github.com/repos/nsqio/pynsq/statuses/3887ba81a00c8f617a349919d1e4f4615c6dd3ae"}}}}