{"action":"created","comment":{"url":"https://api.github.com/repos/kookster/say_when/pulls/comments/62060308","id":62060308,"diff_hunk":"@@ -3,4 +3,5 @@\n Gemfile.lock\n pkg/*\n *.DS_Store\n-.rvmrc\n\\ No newline at end of file\n+spec/db/test.db\n+.ruby-version","path":".gitignore","position":7,"original_position":7,"commit_id":"864ac18349f1b0b5c63c815641b992f7e6408121","original_commit_id":"864ac18349f1b0b5c63c815641b992f7e6408121","user":{"login":"cavis","id":1410587,"avatar_url":"https://avatars.githubusercontent.com/u/1410587?v=3","gravatar_id":"","url":"https://api.github.com/users/cavis","html_url":"https://github.com/cavis","followers_url":"https://api.github.com/users/cavis/followers","following_url":"https://api.github.com/users/cavis/following{/other_user}","gists_url":"https://api.github.com/users/cavis/gists{/gist_id}","starred_url":"https://api.github.com/users/cavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cavis/subscriptions","organizations_url":"https://api.github.com/users/cavis/orgs","repos_url":"https://api.github.com/users/cavis/repos","events_url":"https://api.github.com/users/cavis/events{/privacy}","received_events_url":"https://api.github.com/users/cavis/received_events","type":"User","site_admin":false},"body":"You want to ignore the ruby version?","created_at":"2016-05-04T15:27:41Z","updated_at":"2016-05-04T15:27:41Z","html_url":"https://github.com/kookster/say_when/pull/12#discussion_r62060308","pull_request_url":"https://api.github.com/repos/kookster/say_when/pulls/12","_links":{"self":{"href":"https://api.github.com/repos/kookster/say_when/pulls/comments/62060308"},"html":{"href":"https://github.com/kookster/say_when/pull/12#discussion_r62060308"},"pull_request":{"href":"https://api.github.com/repos/kookster/say_when/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/kookster/say_when/pulls/12","id":67598900,"html_url":"https://github.com/kookster/say_when/pull/12","diff_url":"https://github.com/kookster/say_when/pull/12.diff","patch_url":"https://github.com/kookster/say_when/pull/12.patch","issue_url":"https://api.github.com/repos/kookster/say_when/issues/12","number":12,"state":"open","locked":false,"title":"Reset Acquired Jobs and DB reconnect","user":{"login":"kookster","id":46439,"avatar_url":"https://avatars.githubusercontent.com/u/46439?v=3","gravatar_id":"","url":"https://api.github.com/users/kookster","html_url":"https://github.com/kookster","followers_url":"https://api.github.com/users/kookster/followers","following_url":"https://api.github.com/users/kookster/following{/other_user}","gists_url":"https://api.github.com/users/kookster/gists{/gist_id}","starred_url":"https://api.github.com/users/kookster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kookster/subscriptions","organizations_url":"https://api.github.com/users/kookster/orgs","repos_url":"https://api.github.com/users/kookster/repos","events_url":"https://api.github.com/users/kookster/events{/privacy}","received_events_url":"https://api.github.com/users/kookster/received_events","type":"User","site_admin":false},"body":"* N.B. - When db needs to reconnect, must be set in database.yml as `reconnect: true`\r\n* On db error, now sleeps for the `tick_length` to prevent massive logging issues\r\n* Checks for acquired jobs being held for too long (default 1 hour) and resets to waiting\r\n* To prevent jobs from being left in acquired state, on error/interrupt attempt to release\r\n* Refactor error logging and handling","created_at":"2016-04-23T07:05:01Z","updated_at":"2016-05-04T15:27:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ac8fa1ddf8428e4f2a7b150f5485b79c384c81f2","assignee":{"login":"cavis","id":1410587,"avatar_url":"https://avatars.githubusercontent.com/u/1410587?v=3","gravatar_id":"","url":"https://api.github.com/users/cavis","html_url":"https://github.com/cavis","followers_url":"https://api.github.com/users/cavis/followers","following_url":"https://api.github.com/users/cavis/following{/other_user}","gists_url":"https://api.github.com/users/cavis/gists{/gist_id}","starred_url":"https://api.github.com/users/cavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cavis/subscriptions","organizations_url":"https://api.github.com/users/cavis/orgs","repos_url":"https://api.github.com/users/cavis/repos","events_url":"https://api.github.com/users/cavis/events{/privacy}","received_events_url":"https://api.github.com/users/cavis/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/kookster/say_when/pulls/12/commits","review_comments_url":"https://api.github.com/repos/kookster/say_when/pulls/12/comments","review_comment_url":"https://api.github.com/repos/kookster/say_when/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kookster/say_when/issues/12/comments","statuses_url":"https://api.github.com/repos/kookster/say_when/statuses/864ac18349f1b0b5c63c815641b992f7e6408121","head":{"label":"kookster:fix/db_reconnect","ref":"fix/db_reconnect","sha":"864ac18349f1b0b5c63c815641b992f7e6408121","user":{"login":"kookster","id":46439,"avatar_url":"https://avatars.githubusercontent.com/u/46439?v=3","gravatar_id":"","url":"https://api.github.com/users/kookster","html_url":"https://github.com/kookster","followers_url":"https://api.github.com/users/kookster/followers","following_url":"https://api.github.com/users/kookster/following{/other_user}","gists_url":"https://api.github.com/users/kookster/gists{/gist_id}","starred_url":"https://api.github.com/users/kookster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kookster/subscriptions","organizations_url":"https://api.github.com/users/kookster/orgs","repos_url":"https://api.github.com/users/kookster/repos","events_url":"https://api.github.com/users/kookster/events{/privacy}","received_events_url":"https://api.github.com/users/kookster/received_events","type":"User","site_admin":false},"repo":{"id":107134,"name":"say_when","full_name":"kookster/say_when","owner":{"login":"kookster","id":46439,"avatar_url":"https://avatars.githubusercontent.com/u/46439?v=3","gravatar_id":"","url":"https://api.github.com/users/kookster","html_url":"https://github.com/kookster","followers_url":"https://api.github.com/users/kookster/followers","following_url":"https://api.github.com/users/kookster/following{/other_user}","gists_url":"https://api.github.com/users/kookster/gists{/gist_id}","starred_url":"https://api.github.com/users/kookster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kookster/subscriptions","organizations_url":"https://api.github.com/users/kookster/orgs","repos_url":"https://api.github.com/users/kookster/repos","events_url":"https://api.github.com/users/kookster/events{/privacy}","received_events_url":"https://api.github.com/users/kookster/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kookster/say_when","description":"Event scheduling plugin for rails","fork":false,"url":"https://api.github.com/repos/kookster/say_when","forks_url":"https://api.github.com/repos/kookster/say_when/forks","keys_url":"https://api.github.com/repos/kookster/say_when/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kookster/say_when/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kookster/say_when/teams","hooks_url":"https://api.github.com/repos/kookster/say_when/hooks","issue_events_url":"https://api.github.com/repos/kookster/say_when/issues/events{/number}","events_url":"https://api.github.com/repos/kookster/say_when/events","assignees_url":"https://api.github.com/repos/kookster/say_when/assignees{/user}","branches_url":"https://api.github.com/repos/kookster/say_when/branches{/branch}","tags_url":"https://api.github.com/repos/kookster/say_when/tags","blobs_url":"https://api.github.com/repos/kookster/say_when/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kookster/say_when/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kookster/say_when/git/refs{/sha}","trees_url":"https://api.github.com/repos/kookster/say_when/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kookster/say_when/statuses/{sha}","languages_url":"https://api.github.com/repos/kookster/say_when/languages","stargazers_url":"https://api.github.com/repos/kookster/say_when/stargazers","contributors_url":"https://api.github.com/repos/kookster/say_when/contributors","subscribers_url":"https://api.github.com/repos/kookster/say_when/subscribers","subscription_url":"https://api.github.com/repos/kookster/say_when/subscription","commits_url":"https://api.github.com/repos/kookster/say_when/commits{/sha}","git_commits_url":"https://api.github.com/repos/kookster/say_when/git/commits{/sha}","comments_url":"https://api.github.com/repos/kookster/say_when/comments{/number}","issue_comment_url":"https://api.github.com/repos/kookster/say_when/issues/comments{/number}","contents_url":"https://api.github.com/repos/kookster/say_when/contents/{+path}","compare_url":"https://api.github.com/repos/kookster/say_when/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kookster/say_when/merges","archive_url":"https://api.github.com/repos/kookster/say_when/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kookster/say_when/downloads","issues_url":"https://api.github.com/repos/kookster/say_when/issues{/number}","pulls_url":"https://api.github.com/repos/kookster/say_when/pulls{/number}","milestones_url":"https://api.github.com/repos/kookster/say_when/milestones{/number}","notifications_url":"https://api.github.com/repos/kookster/say_when/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kookster/say_when/labels{/name}","releases_url":"https://api.github.com/repos/kookster/say_when/releases{/id}","deployments_url":"https://api.github.com/repos/kookster/say_when/deployments","created_at":"2009-01-14T06:40:59Z","updated_at":"2015-02-17T21:30:51Z","pushed_at":"2016-04-23T08:26:51Z","git_url":"git://github.com/kookster/say_when.git","ssh_url":"git@github.com:kookster/say_when.git","clone_url":"https://github.com/kookster/say_when.git","svn_url":"https://github.com/kookster/say_when","homepage":"","size":148,"stargazers_count":4,"watchers_count":4,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":5,"forks":1,"open_issues":5,"watchers":4,"default_branch":"master"}},"base":{"label":"kookster:version_0","ref":"version_0","sha":"496f6516c88fc38e3e0f3fffe05648ef7a6db934","user":{"login":"kookster","id":46439,"avatar_url":"https://avatars.githubusercontent.com/u/46439?v=3","gravatar_id":"","url":"https://api.github.com/users/kookster","html_url":"https://github.com/kookster","followers_url":"https://api.github.com/users/kookster/followers","following_url":"https://api.github.com/users/kookster/following{/other_user}","gists_url":"https://api.github.com/users/kookster/gists{/gist_id}","starred_url":"https://api.github.com/users/kookster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kookster/subscriptions","organizations_url":"https://api.github.com/users/kookster/orgs","repos_url":"https://api.github.com/users/kookster/repos","events_url":"https://api.github.com/users/kookster/events{/privacy}","received_events_url":"https://api.github.com/users/kookster/received_events","type":"User","site_admin":false},"repo":{"id":107134,"name":"say_when","full_name":"kookster/say_when","owner":{"login":"kookster","id":46439,"avatar_url":"https://avatars.githubusercontent.com/u/46439?v=3","gravatar_id":"","url":"https://api.github.com/users/kookster","html_url":"https://github.com/kookster","followers_url":"https://api.github.com/users/kookster/followers","following_url":"https://api.github.com/users/kookster/following{/other_user}","gists_url":"https://api.github.com/users/kookster/gists{/gist_id}","starred_url":"https://api.github.com/users/kookster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kookster/subscriptions","organizations_url":"https://api.github.com/users/kookster/orgs","repos_url":"https://api.github.com/users/kookster/repos","events_url":"https://api.github.com/users/kookster/events{/privacy}","received_events_url":"https://api.github.com/users/kookster/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kookster/say_when","description":"Event scheduling plugin for rails","fork":false,"url":"https://api.github.com/repos/kookster/say_when","forks_url":"https://api.github.com/repos/kookster/say_when/forks","keys_url":"https://api.github.com/repos/kookster/say_when/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kookster/say_when/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kookster/say_when/teams","hooks_url":"https://api.github.com/repos/kookster/say_when/hooks","issue_events_url":"https://api.github.com/repos/kookster/say_when/issues/events{/number}","events_url":"https://api.github.com/repos/kookster/say_when/events","assignees_url":"https://api.github.com/repos/kookster/say_when/assignees{/user}","branches_url":"https://api.github.com/repos/kookster/say_when/branches{/branch}","tags_url":"https://api.github.com/repos/kookster/say_when/tags","blobs_url":"https://api.github.com/repos/kookster/say_when/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kookster/say_when/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kookster/say_when/git/refs{/sha}","trees_url":"https://api.github.com/repos/kookster/say_when/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kookster/say_when/statuses/{sha}","languages_url":"https://api.github.com/repos/kookster/say_when/languages","stargazers_url":"https://api.github.com/repos/kookster/say_when/stargazers","contributors_url":"https://api.github.com/repos/kookster/say_when/contributors","subscribers_url":"https://api.github.com/repos/kookster/say_when/subscribers","subscription_url":"https://api.github.com/repos/kookster/say_when/subscription","commits_url":"https://api.github.com/repos/kookster/say_when/commits{/sha}","git_commits_url":"https://api.github.com/repos/kookster/say_when/git/commits{/sha}","comments_url":"https://api.github.com/repos/kookster/say_when/comments{/number}","issue_comment_url":"https://api.github.com/repos/kookster/say_when/issues/comments{/number}","contents_url":"https://api.github.com/repos/kookster/say_when/contents/{+path}","compare_url":"https://api.github.com/repos/kookster/say_when/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kookster/say_when/merges","archive_url":"https://api.github.com/repos/kookster/say_when/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kookster/say_when/downloads","issues_url":"https://api.github.com/repos/kookster/say_when/issues{/number}","pulls_url":"https://api.github.com/repos/kookster/say_when/pulls{/number}","milestones_url":"https://api.github.com/repos/kookster/say_when/milestones{/number}","notifications_url":"https://api.github.com/repos/kookster/say_when/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kookster/say_when/labels{/name}","releases_url":"https://api.github.com/repos/kookster/say_when/releases{/id}","deployments_url":"https://api.github.com/repos/kookster/say_when/deployments","created_at":"2009-01-14T06:40:59Z","updated_at":"2015-02-17T21:30:51Z","pushed_at":"2016-04-23T08:26:51Z","git_url":"git://github.com/kookster/say_when.git","ssh_url":"git@github.com:kookster/say_when.git","clone_url":"https://github.com/kookster/say_when.git","svn_url":"https://github.com/kookster/say_when","homepage":"","size":148,"stargazers_count":4,"watchers_count":4,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":5,"forks":1,"open_issues":5,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kookster/say_when/pulls/12"},"html":{"href":"https://github.com/kookster/say_when/pull/12"},"issue":{"href":"https://api.github.com/repos/kookster/say_when/issues/12"},"comments":{"href":"https://api.github.com/repos/kookster/say_when/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/kookster/say_when/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/kookster/say_when/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kookster/say_when/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/kookster/say_when/statuses/864ac18349f1b0b5c63c815641b992f7e6408121"}}}}