{"action":"closed","number":2,"pull_request":{"url":"https://api.github.com/repos/score-framework/py.distlock/pulls/2","id":64153356,"html_url":"https://github.com/score-framework/py.distlock/pull/2","diff_url":"https://github.com/score-framework/py.distlock/pull/2.diff","patch_url":"https://github.com/score-framework/py.distlock/pull/2.patch","issue_url":"https://api.github.com/repos/score-framework/py.distlock/issues/2","number":2,"state":"closed","locked":false,"title":"Bugfixes: vacuum, autovaccum, self.token","user":{"login":"tronstoner","id":6086842,"avatar_url":"https://avatars.githubusercontent.com/u/6086842?v=3","gravatar_id":"","url":"https://api.github.com/users/tronstoner","html_url":"https://github.com/tronstoner","followers_url":"https://api.github.com/users/tronstoner/followers","following_url":"https://api.github.com/users/tronstoner/following{/other_user}","gists_url":"https://api.github.com/users/tronstoner/gists{/gist_id}","starred_url":"https://api.github.com/users/tronstoner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tronstoner/subscriptions","organizations_url":"https://api.github.com/users/tronstoner/orgs","repos_url":"https://api.github.com/users/tronstoner/repos","events_url":"https://api.github.com/users/tronstoner/events{/privacy}","received_events_url":"https://api.github.com/users/tronstoner/received_events","type":"User","site_admin":false},"body":"### vacuum, autovacuum\r\n\r\n`vacuum` sqlalchemy syntax was broken, fixed.\r\n\r\n`autovacuum` by chance made it very hard to keep things sane when trying to handle expired locks, resulting in deadlocks or the need to call vacuum manually on several occations, also:\r\n\r\n`autovacuum` needs to be called on `try_acquiring`, otherwise expired locks\r\n  stay expired forever in autovacuum mode. Therefore `autovaccum` now handles the expiration behaviour of tokens automagically, rather than improving query performance. I'd suggest renaming the option in a later release to `autoexpire` or something more precise. In other cases, where this behaviour is not desired and the expiration of Locks should be handled on the implementation side, another form of `autovaccum` could be a nice addition for performance improvement, if it does not break the consistency of the usage of the module again.\r\n\r\n### self.token\r\nwhen being called in a `with` context, self.token never was set, fixed.","created_at":"2016-03-25T11:10:41Z","updated_at":"2016-03-29T08:28:57Z","closed_at":"2016-03-29T08:28:57Z","merged_at":null,"merge_commit_sha":"293d468c89b6c005d12353d21fea5af410e01a4a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/score-framework/py.distlock/pulls/2/commits","review_comments_url":"https://api.github.com/repos/score-framework/py.distlock/pulls/2/comments","review_comment_url":"https://api.github.com/repos/score-framework/py.distlock/pulls/comments{/number}","comments_url":"https://api.github.com/repos/score-framework/py.distlock/issues/2/comments","statuses_url":"https://api.github.com/repos/score-framework/py.distlock/statuses/47149209e53af13c7345af1606bead4077238045","head":{"label":"tronstoner:master","ref":"master","sha":"47149209e53af13c7345af1606bead4077238045","user":{"login":"tronstoner","id":6086842,"avatar_url":"https://avatars.githubusercontent.com/u/6086842?v=3","gravatar_id":"","url":"https://api.github.com/users/tronstoner","html_url":"https://github.com/tronstoner","followers_url":"https://api.github.com/users/tronstoner/followers","following_url":"https://api.github.com/users/tronstoner/following{/other_user}","gists_url":"https://api.github.com/users/tronstoner/gists{/gist_id}","starred_url":"https://api.github.com/users/tronstoner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tronstoner/subscriptions","organizations_url":"https://api.github.com/users/tronstoner/orgs","repos_url":"https://api.github.com/users/tronstoner/repos","events_url":"https://api.github.com/users/tronstoner/events{/privacy}","received_events_url":"https://api.github.com/users/tronstoner/received_events","type":"User","site_admin":false},"repo":{"id":54637750,"name":"py.distlock","full_name":"tronstoner/py.distlock","owner":{"login":"tronstoner","id":6086842,"avatar_url":"https://avatars.githubusercontent.com/u/6086842?v=3","gravatar_id":"","url":"https://api.github.com/users/tronstoner","html_url":"https://github.com/tronstoner","followers_url":"https://api.github.com/users/tronstoner/followers","following_url":"https://api.github.com/users/tronstoner/following{/other_user}","gists_url":"https://api.github.com/users/tronstoner/gists{/gist_id}","starred_url":"https://api.github.com/users/tronstoner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tronstoner/subscriptions","organizations_url":"https://api.github.com/users/tronstoner/orgs","repos_url":"https://api.github.com/users/tronstoner/repos","events_url":"https://api.github.com/users/tronstoner/events{/privacy}","received_events_url":"https://api.github.com/users/tronstoner/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tronstoner/py.distlock","description":"Mutex for distributed operations with The SCORE Framework","fork":true,"url":"https://api.github.com/repos/tronstoner/py.distlock","forks_url":"https://api.github.com/repos/tronstoner/py.distlock/forks","keys_url":"https://api.github.com/repos/tronstoner/py.distlock/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tronstoner/py.distlock/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tronstoner/py.distlock/teams","hooks_url":"https://api.github.com/repos/tronstoner/py.distlock/hooks","issue_events_url":"https://api.github.com/repos/tronstoner/py.distlock/issues/events{/number}","events_url":"https://api.github.com/repos/tronstoner/py.distlock/events","assignees_url":"https://api.github.com/repos/tronstoner/py.distlock/assignees{/user}","branches_url":"https://api.github.com/repos/tronstoner/py.distlock/branches{/branch}","tags_url":"https://api.github.com/repos/tronstoner/py.distlock/tags","blobs_url":"https://api.github.com/repos/tronstoner/py.distlock/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tronstoner/py.distlock/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tronstoner/py.distlock/git/refs{/sha}","trees_url":"https://api.github.com/repos/tronstoner/py.distlock/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tronstoner/py.distlock/statuses/{sha}","languages_url":"https://api.github.com/repos/tronstoner/py.distlock/languages","stargazers_url":"https://api.github.com/repos/tronstoner/py.distlock/stargazers","contributors_url":"https://api.github.com/repos/tronstoner/py.distlock/contributors","subscribers_url":"https://api.github.com/repos/tronstoner/py.distlock/subscribers","subscription_url":"https://api.github.com/repos/tronstoner/py.distlock/subscription","commits_url":"https://api.github.com/repos/tronstoner/py.distlock/commits{/sha}","git_commits_url":"https://api.github.com/repos/tronstoner/py.distlock/git/commits{/sha}","comments_url":"https://api.github.com/repos/tronstoner/py.distlock/comments{/number}","issue_comment_url":"https://api.github.com/repos/tronstoner/py.distlock/issues/comments{/number}","contents_url":"https://api.github.com/repos/tronstoner/py.distlock/contents/{+path}","compare_url":"https://api.github.com/repos/tronstoner/py.distlock/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tronstoner/py.distlock/merges","archive_url":"https://api.github.com/repos/tronstoner/py.distlock/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tronstoner/py.distlock/downloads","issues_url":"https://api.github.com/repos/tronstoner/py.distlock/issues{/number}","pulls_url":"https://api.github.com/repos/tronstoner/py.distlock/pulls{/number}","milestones_url":"https://api.github.com/repos/tronstoner/py.distlock/milestones{/number}","notifications_url":"https://api.github.com/repos/tronstoner/py.distlock/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tronstoner/py.distlock/labels{/name}","releases_url":"https://api.github.com/repos/tronstoner/py.distlock/releases{/id}","deployments_url":"https://api.github.com/repos/tronstoner/py.distlock/deployments","created_at":"2016-03-24T11:43:50Z","updated_at":"2016-03-24T11:43:51Z","pushed_at":"2016-03-25T10:37:47Z","git_url":"git://github.com/tronstoner/py.distlock.git","ssh_url":"git@github.com:tronstoner/py.distlock.git","clone_url":"https://github.com/tronstoner/py.distlock.git","svn_url":"https://github.com/tronstoner/py.distlock","homepage":"http://score-framework.org","size":31,"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":"score-framework:master","ref":"master","sha":"577f37948f3083e838fbb65f33045e74bab2dea9","user":{"login":"score-framework","id":12711053,"avatar_url":"https://avatars.githubusercontent.com/u/12711053?v=3","gravatar_id":"","url":"https://api.github.com/users/score-framework","html_url":"https://github.com/score-framework","followers_url":"https://api.github.com/users/score-framework/followers","following_url":"https://api.github.com/users/score-framework/following{/other_user}","gists_url":"https://api.github.com/users/score-framework/gists{/gist_id}","starred_url":"https://api.github.com/users/score-framework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/score-framework/subscriptions","organizations_url":"https://api.github.com/users/score-framework/orgs","repos_url":"https://api.github.com/users/score-framework/repos","events_url":"https://api.github.com/users/score-framework/events{/privacy}","received_events_url":"https://api.github.com/users/score-framework/received_events","type":"Organization","site_admin":false},"repo":{"id":43744405,"name":"py.distlock","full_name":"score-framework/py.distlock","owner":{"login":"score-framework","id":12711053,"avatar_url":"https://avatars.githubusercontent.com/u/12711053?v=3","gravatar_id":"","url":"https://api.github.com/users/score-framework","html_url":"https://github.com/score-framework","followers_url":"https://api.github.com/users/score-framework/followers","following_url":"https://api.github.com/users/score-framework/following{/other_user}","gists_url":"https://api.github.com/users/score-framework/gists{/gist_id}","starred_url":"https://api.github.com/users/score-framework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/score-framework/subscriptions","organizations_url":"https://api.github.com/users/score-framework/orgs","repos_url":"https://api.github.com/users/score-framework/repos","events_url":"https://api.github.com/users/score-framework/events{/privacy}","received_events_url":"https://api.github.com/users/score-framework/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/score-framework/py.distlock","description":"Mutex for distributed operations with The SCORE Framework","fork":false,"url":"https://api.github.com/repos/score-framework/py.distlock","forks_url":"https://api.github.com/repos/score-framework/py.distlock/forks","keys_url":"https://api.github.com/repos/score-framework/py.distlock/keys{/key_id}","collaborators_url":"https://api.github.com/repos/score-framework/py.distlock/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/score-framework/py.distlock/teams","hooks_url":"https://api.github.com/repos/score-framework/py.distlock/hooks","issue_events_url":"https://api.github.com/repos/score-framework/py.distlock/issues/events{/number}","events_url":"https://api.github.com/repos/score-framework/py.distlock/events","assignees_url":"https://api.github.com/repos/score-framework/py.distlock/assignees{/user}","branches_url":"https://api.github.com/repos/score-framework/py.distlock/branches{/branch}","tags_url":"https://api.github.com/repos/score-framework/py.distlock/tags","blobs_url":"https://api.github.com/repos/score-framework/py.distlock/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/score-framework/py.distlock/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/score-framework/py.distlock/git/refs{/sha}","trees_url":"https://api.github.com/repos/score-framework/py.distlock/git/trees{/sha}","statuses_url":"https://api.github.com/repos/score-framework/py.distlock/statuses/{sha}","languages_url":"https://api.github.com/repos/score-framework/py.distlock/languages","stargazers_url":"https://api.github.com/repos/score-framework/py.distlock/stargazers","contributors_url":"https://api.github.com/repos/score-framework/py.distlock/contributors","subscribers_url":"https://api.github.com/repos/score-framework/py.distlock/subscribers","subscription_url":"https://api.github.com/repos/score-framework/py.distlock/subscription","commits_url":"https://api.github.com/repos/score-framework/py.distlock/commits{/sha}","git_commits_url":"https://api.github.com/repos/score-framework/py.distlock/git/commits{/sha}","comments_url":"https://api.github.com/repos/score-framework/py.distlock/comments{/number}","issue_comment_url":"https://api.github.com/repos/score-framework/py.distlock/issues/comments{/number}","contents_url":"https://api.github.com/repos/score-framework/py.distlock/contents/{+path}","compare_url":"https://api.github.com/repos/score-framework/py.distlock/compare/{base}...{head}","merges_url":"https://api.github.com/repos/score-framework/py.distlock/merges","archive_url":"https://api.github.com/repos/score-framework/py.distlock/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/score-framework/py.distlock/downloads","issues_url":"https://api.github.com/repos/score-framework/py.distlock/issues{/number}","pulls_url":"https://api.github.com/repos/score-framework/py.distlock/pulls{/number}","milestones_url":"https://api.github.com/repos/score-framework/py.distlock/milestones{/number}","notifications_url":"https://api.github.com/repos/score-framework/py.distlock/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/score-framework/py.distlock/labels{/name}","releases_url":"https://api.github.com/repos/score-framework/py.distlock/releases{/id}","deployments_url":"https://api.github.com/repos/score-framework/py.distlock/deployments","created_at":"2015-10-06T10:39:14Z","updated_at":"2016-02-02T14:43:11Z","pushed_at":"2016-03-25T11:10:41Z","git_url":"git://github.com/score-framework/py.distlock.git","ssh_url":"git@github.com:score-framework/py.distlock.git","clone_url":"https://github.com/score-framework/py.distlock.git","svn_url":"https://github.com/score-framework/py.distlock","homepage":"http://score-framework.org","size":29,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/score-framework/py.distlock/pulls/2"},"html":{"href":"https://github.com/score-framework/py.distlock/pull/2"},"issue":{"href":"https://api.github.com/repos/score-framework/py.distlock/issues/2"},"comments":{"href":"https://api.github.com/repos/score-framework/py.distlock/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/score-framework/py.distlock/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/score-framework/py.distlock/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/score-framework/py.distlock/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/score-framework/py.distlock/statuses/47149209e53af13c7345af1606bead4077238045"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":1,"review_comments":0,"commits":3,"additions":7,"deletions":9,"changed_files":1}}