{"action":"opened","number":19,"pull_request":{"url":"https://api.github.com/repos/benjamin-hodgson/asynqp/pulls/19","id":35812032,"html_url":"https://github.com/benjamin-hodgson/asynqp/pull/19","diff_url":"https://github.com/benjamin-hodgson/asynqp/pull/19.diff","patch_url":"https://github.com/benjamin-hodgson/asynqp/pull/19.patch","issue_url":"https://api.github.com/repos/benjamin-hodgson/asynqp/issues/19","number":19,"state":"open","locked":false,"title":"Added new exceptions and logic to allow reconnecting connections","user":{"login":"lenzenmi","id":1591858,"avatar_url":"https://avatars.githubusercontent.com/u/1591858?v=3","gravatar_id":"","url":"https://api.github.com/users/lenzenmi","html_url":"https://github.com/lenzenmi","followers_url":"https://api.github.com/users/lenzenmi/followers","following_url":"https://api.github.com/users/lenzenmi/following{/other_user}","gists_url":"https://api.github.com/users/lenzenmi/gists{/gist_id}","starred_url":"https://api.github.com/users/lenzenmi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lenzenmi/subscriptions","organizations_url":"https://api.github.com/users/lenzenmi/orgs","repos_url":"https://api.github.com/users/lenzenmi/repos","events_url":"https://api.github.com/users/lenzenmi/events{/privacy}","received_events_url":"https://api.github.com/users/lenzenmi/received_events","type":"User","site_admin":false},"body":"Added ConnectionClosedError and ConnectionLostError.\r\nConnectionClosedError is raised when the connection is closed normally,\r\nConnectionLostError is raised when the connection is lost unexpectedly.\r\ncleanup\r\nSend poison pill when the connection is closed so that cleanup methods\r\n(Channel.close, Connection.close, Consumer.cancel) do not block waiting\r\nfor a message from the server on a closed connection.\r\nFixes from experience with an actual example script\r\nconsistently handle setting futures inside syncronizer when poison pill\r\nis swallowed","created_at":"2015-05-20T09:16:55Z","updated_at":"2015-05-20T09:16:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/benjamin-hodgson/asynqp/pulls/19/commits","review_comments_url":"https://api.github.com/repos/benjamin-hodgson/asynqp/pulls/19/comments","review_comment_url":"https://api.github.com/repos/benjamin-hodgson/asynqp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/benjamin-hodgson/asynqp/issues/19/comments","statuses_url":"https://api.github.com/repos/benjamin-hodgson/asynqp/statuses/f665308473fb84d03b5a5084d18d1443fea376af","head":{"label":"lenzenmi:bug/lost-connection-exception","ref":"bug/lost-connection-exception","sha":"f665308473fb84d03b5a5084d18d1443fea376af","user":{"login":"lenzenmi","id":1591858,"avatar_url":"https://avatars.githubusercontent.com/u/1591858?v=3","gravatar_id":"","url":"https://api.github.com/users/lenzenmi","html_url":"https://github.com/lenzenmi","followers_url":"https://api.github.com/users/lenzenmi/followers","following_url":"https://api.github.com/users/lenzenmi/following{/other_user}","gists_url":"https://api.github.com/users/lenzenmi/gists{/gist_id}","starred_url":"https://api.github.com/users/lenzenmi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lenzenmi/subscriptions","organizations_url":"https://api.github.com/users/lenzenmi/orgs","repos_url":"https://api.github.com/users/lenzenmi/repos","events_url":"https://api.github.com/users/lenzenmi/events{/privacy}","received_events_url":"https://api.github.com/users/lenzenmi/received_events","type":"User","site_admin":false},"repo":{"id":35795661,"name":"asynqp","full_name":"lenzenmi/asynqp","owner":{"login":"lenzenmi","id":1591858,"avatar_url":"https://avatars.githubusercontent.com/u/1591858?v=3","gravatar_id":"","url":"https://api.github.com/users/lenzenmi","html_url":"https://github.com/lenzenmi","followers_url":"https://api.github.com/users/lenzenmi/followers","following_url":"https://api.github.com/users/lenzenmi/following{/other_user}","gists_url":"https://api.github.com/users/lenzenmi/gists{/gist_id}","starred_url":"https://api.github.com/users/lenzenmi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lenzenmi/subscriptions","organizations_url":"https://api.github.com/users/lenzenmi/orgs","repos_url":"https://api.github.com/users/lenzenmi/repos","events_url":"https://api.github.com/users/lenzenmi/events{/privacy}","received_events_url":"https://api.github.com/users/lenzenmi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lenzenmi/asynqp","description":"An AMQP library for asyncio","fork":true,"url":"https://api.github.com/repos/lenzenmi/asynqp","forks_url":"https://api.github.com/repos/lenzenmi/asynqp/forks","keys_url":"https://api.github.com/repos/lenzenmi/asynqp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lenzenmi/asynqp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lenzenmi/asynqp/teams","hooks_url":"https://api.github.com/repos/lenzenmi/asynqp/hooks","issue_events_url":"https://api.github.com/repos/lenzenmi/asynqp/issues/events{/number}","events_url":"https://api.github.com/repos/lenzenmi/asynqp/events","assignees_url":"https://api.github.com/repos/lenzenmi/asynqp/assignees{/user}","branches_url":"https://api.github.com/repos/lenzenmi/asynqp/branches{/branch}","tags_url":"https://api.github.com/repos/lenzenmi/asynqp/tags","blobs_url":"https://api.github.com/repos/lenzenmi/asynqp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lenzenmi/asynqp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lenzenmi/asynqp/git/refs{/sha}","trees_url":"https://api.github.com/repos/lenzenmi/asynqp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lenzenmi/asynqp/statuses/{sha}","languages_url":"https://api.github.com/repos/lenzenmi/asynqp/languages","stargazers_url":"https://api.github.com/repos/lenzenmi/asynqp/stargazers","contributors_url":"https://api.github.com/repos/lenzenmi/asynqp/contributors","subscribers_url":"https://api.github.com/repos/lenzenmi/asynqp/subscribers","subscription_url":"https://api.github.com/repos/lenzenmi/asynqp/subscription","commits_url":"https://api.github.com/repos/lenzenmi/asynqp/commits{/sha}","git_commits_url":"https://api.github.com/repos/lenzenmi/asynqp/git/commits{/sha}","comments_url":"https://api.github.com/repos/lenzenmi/asynqp/comments{/number}","issue_comment_url":"https://api.github.com/repos/lenzenmi/asynqp/issues/comments{/number}","contents_url":"https://api.github.com/repos/lenzenmi/asynqp/contents/{+path}","compare_url":"https://api.github.com/repos/lenzenmi/asynqp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lenzenmi/asynqp/merges","archive_url":"https://api.github.com/repos/lenzenmi/asynqp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lenzenmi/asynqp/downloads","issues_url":"https://api.github.com/repos/lenzenmi/asynqp/issues{/number}","pulls_url":"https://api.github.com/repos/lenzenmi/asynqp/pulls{/number}","milestones_url":"https://api.github.com/repos/lenzenmi/asynqp/milestones{/number}","notifications_url":"https://api.github.com/repos/lenzenmi/asynqp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lenzenmi/asynqp/labels{/name}","releases_url":"https://api.github.com/repos/lenzenmi/asynqp/releases{/id}","created_at":"2015-05-18T03:54:08Z","updated_at":"2015-05-18T03:54:09Z","pushed_at":"2015-05-20T09:15:33Z","git_url":"git://github.com/lenzenmi/asynqp.git","ssh_url":"git@github.com:lenzenmi/asynqp.git","clone_url":"https://github.com/lenzenmi/asynqp.git","svn_url":"https://github.com/lenzenmi/asynqp","homepage":"","size":915,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"benjamin-hodgson:master","ref":"master","sha":"8d0e45f43c86d4595fb7f98e6906e2cca27e3ba5","user":{"login":"benjamin-hodgson","id":3857587,"avatar_url":"https://avatars.githubusercontent.com/u/3857587?v=3","gravatar_id":"","url":"https://api.github.com/users/benjamin-hodgson","html_url":"https://github.com/benjamin-hodgson","followers_url":"https://api.github.com/users/benjamin-hodgson/followers","following_url":"https://api.github.com/users/benjamin-hodgson/following{/other_user}","gists_url":"https://api.github.com/users/benjamin-hodgson/gists{/gist_id}","starred_url":"https://api.github.com/users/benjamin-hodgson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjamin-hodgson/subscriptions","organizations_url":"https://api.github.com/users/benjamin-hodgson/orgs","repos_url":"https://api.github.com/users/benjamin-hodgson/repos","events_url":"https://api.github.com/users/benjamin-hodgson/events{/privacy}","received_events_url":"https://api.github.com/users/benjamin-hodgson/received_events","type":"User","site_admin":false},"repo":{"id":19077572,"name":"asynqp","full_name":"benjamin-hodgson/asynqp","owner":{"login":"benjamin-hodgson","id":3857587,"avatar_url":"https://avatars.githubusercontent.com/u/3857587?v=3","gravatar_id":"","url":"https://api.github.com/users/benjamin-hodgson","html_url":"https://github.com/benjamin-hodgson","followers_url":"https://api.github.com/users/benjamin-hodgson/followers","following_url":"https://api.github.com/users/benjamin-hodgson/following{/other_user}","gists_url":"https://api.github.com/users/benjamin-hodgson/gists{/gist_id}","starred_url":"https://api.github.com/users/benjamin-hodgson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjamin-hodgson/subscriptions","organizations_url":"https://api.github.com/users/benjamin-hodgson/orgs","repos_url":"https://api.github.com/users/benjamin-hodgson/repos","events_url":"https://api.github.com/users/benjamin-hodgson/events{/privacy}","received_events_url":"https://api.github.com/users/benjamin-hodgson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/benjamin-hodgson/asynqp","description":"An AMQP library for asyncio","fork":false,"url":"https://api.github.com/repos/benjamin-hodgson/asynqp","forks_url":"https://api.github.com/repos/benjamin-hodgson/asynqp/forks","keys_url":"https://api.github.com/repos/benjamin-hodgson/asynqp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/benjamin-hodgson/asynqp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/benjamin-hodgson/asynqp/teams","hooks_url":"https://api.github.com/repos/benjamin-hodgson/asynqp/hooks","issue_events_url":"https://api.github.com/repos/benjamin-hodgson/asynqp/issues/events{/number}","events_url":"https://api.github.com/repos/benjamin-hodgson/asynqp/events","assignees_url":"https://api.github.com/repos/benjamin-hodgson/asynqp/assignees{/user}","branches_url":"https://api.github.com/repos/benjamin-hodgson/asynqp/branches{/branch}","tags_url":"https://api.github.com/repos/benjamin-hodgson/asynqp/tags","blobs_url":"https://api.github.com/repos/benjamin-hodgson/asynqp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/benjamin-hodgson/asynqp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/benjamin-hodgson/asynqp/git/refs{/sha}","trees_url":"https://api.github.com/repos/benjamin-hodgson/asynqp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/benjamin-hodgson/asynqp/statuses/{sha}","languages_url":"https://api.github.com/repos/benjamin-hodgson/asynqp/languages","stargazers_url":"https://api.github.com/repos/benjamin-hodgson/asynqp/stargazers","contributors_url":"https://api.github.com/repos/benjamin-hodgson/asynqp/contributors","subscribers_url":"https://api.github.com/repos/benjamin-hodgson/asynqp/subscribers","subscription_url":"https://api.github.com/repos/benjamin-hodgson/asynqp/subscription","commits_url":"https://api.github.com/repos/benjamin-hodgson/asynqp/commits{/sha}","git_commits_url":"https://api.github.com/repos/benjamin-hodgson/asynqp/git/commits{/sha}","comments_url":"https://api.github.com/repos/benjamin-hodgson/asynqp/comments{/number}","issue_comment_url":"https://api.github.com/repos/benjamin-hodgson/asynqp/issues/comments{/number}","contents_url":"https://api.github.com/repos/benjamin-hodgson/asynqp/contents/{+path}","compare_url":"https://api.github.com/repos/benjamin-hodgson/asynqp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/benjamin-hodgson/asynqp/merges","archive_url":"https://api.github.com/repos/benjamin-hodgson/asynqp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/benjamin-hodgson/asynqp/downloads","issues_url":"https://api.github.com/repos/benjamin-hodgson/asynqp/issues{/number}","pulls_url":"https://api.github.com/repos/benjamin-hodgson/asynqp/pulls{/number}","milestones_url":"https://api.github.com/repos/benjamin-hodgson/asynqp/milestones{/number}","notifications_url":"https://api.github.com/repos/benjamin-hodgson/asynqp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/benjamin-hodgson/asynqp/labels{/name}","releases_url":"https://api.github.com/repos/benjamin-hodgson/asynqp/releases{/id}","created_at":"2014-04-23T16:47:09Z","updated_at":"2015-05-06T17:57:54Z","pushed_at":"2015-05-20T09:16:55Z","git_url":"git://github.com/benjamin-hodgson/asynqp.git","ssh_url":"git@github.com:benjamin-hodgson/asynqp.git","clone_url":"https://github.com/benjamin-hodgson/asynqp.git","svn_url":"https://github.com/benjamin-hodgson/asynqp","homepage":"","size":915,"stargazers_count":18,"watchers_count":18,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":3,"forks":7,"open_issues":3,"watchers":18,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/benjamin-hodgson/asynqp/pulls/19"},"html":{"href":"https://github.com/benjamin-hodgson/asynqp/pull/19"},"issue":{"href":"https://api.github.com/repos/benjamin-hodgson/asynqp/issues/19"},"comments":{"href":"https://api.github.com/repos/benjamin-hodgson/asynqp/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/benjamin-hodgson/asynqp/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/benjamin-hodgson/asynqp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/benjamin-hodgson/asynqp/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/benjamin-hodgson/asynqp/statuses/f665308473fb84d03b5a5084d18d1443fea376af"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":288,"deletions":5,"changed_files":13}}