{"action":"opened","number":27,"pull_request":{"url":"https://api.github.com/repos/edgurgel/verk_web/pulls/27","id":90918986,"html_url":"https://github.com/edgurgel/verk_web/pull/27","diff_url":"https://github.com/edgurgel/verk_web/pull/27.diff","patch_url":"https://github.com/edgurgel/verk_web/pull/27.patch","issue_url":"https://api.github.com/repos/edgurgel/verk_web/issues/27","number":27,"state":"open","locked":false,"title":"Change page template to display Redis counts","user":{"login":"keyan","id":6401746,"avatar_url":"https://avatars.githubusercontent.com/u/6401746?v=3","gravatar_id":"","url":"https://api.github.com/users/keyan","html_url":"https://github.com/keyan","followers_url":"https://api.github.com/users/keyan/followers","following_url":"https://api.github.com/users/keyan/following{/other_user}","gists_url":"https://api.github.com/users/keyan/gists{/gist_id}","starred_url":"https://api.github.com/users/keyan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keyan/subscriptions","organizations_url":"https://api.github.com/users/keyan/orgs","repos_url":"https://api.github.com/users/keyan/repos","events_url":"https://api.github.com/users/keyan/events{/privacy}","received_events_url":"https://api.github.com/users/keyan/received_events","type":"User","site_admin":false},"body":"Addresses issue #26\n\nPreviously \"Processed\" and \"Failed\" counts per queue were pulled from\n`:ets`. This meant that VerkWeb would only show the number of jobs\nprocessed/failed since that Verk instance had started. Because we are\nalready storing the stats in Redis, this PR chooses to pull stats from\nthe database instead.","created_at":"2016-10-26T00:56:58Z","updated_at":"2016-10-26T00:56:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/edgurgel/verk_web/pulls/27/commits","review_comments_url":"https://api.github.com/repos/edgurgel/verk_web/pulls/27/comments","review_comment_url":"https://api.github.com/repos/edgurgel/verk_web/pulls/comments{/number}","comments_url":"https://api.github.com/repos/edgurgel/verk_web/issues/27/comments","statuses_url":"https://api.github.com/repos/edgurgel/verk_web/statuses/9073bfd73caaf092511af6a3788ac2971fd9b2e1","head":{"label":"keyan:persistent_queue_stats","ref":"persistent_queue_stats","sha":"9073bfd73caaf092511af6a3788ac2971fd9b2e1","user":{"login":"keyan","id":6401746,"avatar_url":"https://avatars.githubusercontent.com/u/6401746?v=3","gravatar_id":"","url":"https://api.github.com/users/keyan","html_url":"https://github.com/keyan","followers_url":"https://api.github.com/users/keyan/followers","following_url":"https://api.github.com/users/keyan/following{/other_user}","gists_url":"https://api.github.com/users/keyan/gists{/gist_id}","starred_url":"https://api.github.com/users/keyan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keyan/subscriptions","organizations_url":"https://api.github.com/users/keyan/orgs","repos_url":"https://api.github.com/users/keyan/repos","events_url":"https://api.github.com/users/keyan/events{/privacy}","received_events_url":"https://api.github.com/users/keyan/received_events","type":"User","site_admin":false},"repo":{"id":71951723,"name":"verk_web","full_name":"keyan/verk_web","owner":{"login":"keyan","id":6401746,"avatar_url":"https://avatars.githubusercontent.com/u/6401746?v=3","gravatar_id":"","url":"https://api.github.com/users/keyan","html_url":"https://github.com/keyan","followers_url":"https://api.github.com/users/keyan/followers","following_url":"https://api.github.com/users/keyan/following{/other_user}","gists_url":"https://api.github.com/users/keyan/gists{/gist_id}","starred_url":"https://api.github.com/users/keyan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keyan/subscriptions","organizations_url":"https://api.github.com/users/keyan/orgs","repos_url":"https://api.github.com/users/keyan/repos","events_url":"https://api.github.com/users/keyan/events{/privacy}","received_events_url":"https://api.github.com/users/keyan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/keyan/verk_web","description":"Verk Dashboard powered by Phoenix","fork":true,"url":"https://api.github.com/repos/keyan/verk_web","forks_url":"https://api.github.com/repos/keyan/verk_web/forks","keys_url":"https://api.github.com/repos/keyan/verk_web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/keyan/verk_web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/keyan/verk_web/teams","hooks_url":"https://api.github.com/repos/keyan/verk_web/hooks","issue_events_url":"https://api.github.com/repos/keyan/verk_web/issues/events{/number}","events_url":"https://api.github.com/repos/keyan/verk_web/events","assignees_url":"https://api.github.com/repos/keyan/verk_web/assignees{/user}","branches_url":"https://api.github.com/repos/keyan/verk_web/branches{/branch}","tags_url":"https://api.github.com/repos/keyan/verk_web/tags","blobs_url":"https://api.github.com/repos/keyan/verk_web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/keyan/verk_web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/keyan/verk_web/git/refs{/sha}","trees_url":"https://api.github.com/repos/keyan/verk_web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/keyan/verk_web/statuses/{sha}","languages_url":"https://api.github.com/repos/keyan/verk_web/languages","stargazers_url":"https://api.github.com/repos/keyan/verk_web/stargazers","contributors_url":"https://api.github.com/repos/keyan/verk_web/contributors","subscribers_url":"https://api.github.com/repos/keyan/verk_web/subscribers","subscription_url":"https://api.github.com/repos/keyan/verk_web/subscription","commits_url":"https://api.github.com/repos/keyan/verk_web/commits{/sha}","git_commits_url":"https://api.github.com/repos/keyan/verk_web/git/commits{/sha}","comments_url":"https://api.github.com/repos/keyan/verk_web/comments{/number}","issue_comment_url":"https://api.github.com/repos/keyan/verk_web/issues/comments{/number}","contents_url":"https://api.github.com/repos/keyan/verk_web/contents/{+path}","compare_url":"https://api.github.com/repos/keyan/verk_web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/keyan/verk_web/merges","archive_url":"https://api.github.com/repos/keyan/verk_web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/keyan/verk_web/downloads","issues_url":"https://api.github.com/repos/keyan/verk_web/issues{/number}","pulls_url":"https://api.github.com/repos/keyan/verk_web/pulls{/number}","milestones_url":"https://api.github.com/repos/keyan/verk_web/milestones{/number}","notifications_url":"https://api.github.com/repos/keyan/verk_web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/keyan/verk_web/labels{/name}","releases_url":"https://api.github.com/repos/keyan/verk_web/releases{/id}","deployments_url":"https://api.github.com/repos/keyan/verk_web/deployments","created_at":"2016-10-26T00:52:15Z","updated_at":"2016-10-26T00:52:16Z","pushed_at":"2016-10-26T00:56:16Z","git_url":"git://github.com/keyan/verk_web.git","ssh_url":"git@github.com:keyan/verk_web.git","clone_url":"https://github.com/keyan/verk_web.git","svn_url":"https://github.com/keyan/verk_web","homepage":"https://hex.pm/packages/verk_web","size":367,"stargazers_count":0,"watchers_count":0,"language":"Elixir","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":"edgurgel:master","ref":"master","sha":"e3828057937bd0707f76d36b08befd494cdde49d","user":{"login":"edgurgel","id":30873,"avatar_url":"https://avatars.githubusercontent.com/u/30873?v=3","gravatar_id":"","url":"https://api.github.com/users/edgurgel","html_url":"https://github.com/edgurgel","followers_url":"https://api.github.com/users/edgurgel/followers","following_url":"https://api.github.com/users/edgurgel/following{/other_user}","gists_url":"https://api.github.com/users/edgurgel/gists{/gist_id}","starred_url":"https://api.github.com/users/edgurgel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edgurgel/subscriptions","organizations_url":"https://api.github.com/users/edgurgel/orgs","repos_url":"https://api.github.com/users/edgurgel/repos","events_url":"https://api.github.com/users/edgurgel/events{/privacy}","received_events_url":"https://api.github.com/users/edgurgel/received_events","type":"User","site_admin":false},"repo":{"id":49468199,"name":"verk_web","full_name":"edgurgel/verk_web","owner":{"login":"edgurgel","id":30873,"avatar_url":"https://avatars.githubusercontent.com/u/30873?v=3","gravatar_id":"","url":"https://api.github.com/users/edgurgel","html_url":"https://github.com/edgurgel","followers_url":"https://api.github.com/users/edgurgel/followers","following_url":"https://api.github.com/users/edgurgel/following{/other_user}","gists_url":"https://api.github.com/users/edgurgel/gists{/gist_id}","starred_url":"https://api.github.com/users/edgurgel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edgurgel/subscriptions","organizations_url":"https://api.github.com/users/edgurgel/orgs","repos_url":"https://api.github.com/users/edgurgel/repos","events_url":"https://api.github.com/users/edgurgel/events{/privacy}","received_events_url":"https://api.github.com/users/edgurgel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/edgurgel/verk_web","description":"Verk Dashboard powered by Phoenix","fork":false,"url":"https://api.github.com/repos/edgurgel/verk_web","forks_url":"https://api.github.com/repos/edgurgel/verk_web/forks","keys_url":"https://api.github.com/repos/edgurgel/verk_web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edgurgel/verk_web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edgurgel/verk_web/teams","hooks_url":"https://api.github.com/repos/edgurgel/verk_web/hooks","issue_events_url":"https://api.github.com/repos/edgurgel/verk_web/issues/events{/number}","events_url":"https://api.github.com/repos/edgurgel/verk_web/events","assignees_url":"https://api.github.com/repos/edgurgel/verk_web/assignees{/user}","branches_url":"https://api.github.com/repos/edgurgel/verk_web/branches{/branch}","tags_url":"https://api.github.com/repos/edgurgel/verk_web/tags","blobs_url":"https://api.github.com/repos/edgurgel/verk_web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edgurgel/verk_web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edgurgel/verk_web/git/refs{/sha}","trees_url":"https://api.github.com/repos/edgurgel/verk_web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edgurgel/verk_web/statuses/{sha}","languages_url":"https://api.github.com/repos/edgurgel/verk_web/languages","stargazers_url":"https://api.github.com/repos/edgurgel/verk_web/stargazers","contributors_url":"https://api.github.com/repos/edgurgel/verk_web/contributors","subscribers_url":"https://api.github.com/repos/edgurgel/verk_web/subscribers","subscription_url":"https://api.github.com/repos/edgurgel/verk_web/subscription","commits_url":"https://api.github.com/repos/edgurgel/verk_web/commits{/sha}","git_commits_url":"https://api.github.com/repos/edgurgel/verk_web/git/commits{/sha}","comments_url":"https://api.github.com/repos/edgurgel/verk_web/comments{/number}","issue_comment_url":"https://api.github.com/repos/edgurgel/verk_web/issues/comments{/number}","contents_url":"https://api.github.com/repos/edgurgel/verk_web/contents/{+path}","compare_url":"https://api.github.com/repos/edgurgel/verk_web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edgurgel/verk_web/merges","archive_url":"https://api.github.com/repos/edgurgel/verk_web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edgurgel/verk_web/downloads","issues_url":"https://api.github.com/repos/edgurgel/verk_web/issues{/number}","pulls_url":"https://api.github.com/repos/edgurgel/verk_web/pulls{/number}","milestones_url":"https://api.github.com/repos/edgurgel/verk_web/milestones{/number}","notifications_url":"https://api.github.com/repos/edgurgel/verk_web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edgurgel/verk_web/labels{/name}","releases_url":"https://api.github.com/repos/edgurgel/verk_web/releases{/id}","deployments_url":"https://api.github.com/repos/edgurgel/verk_web/deployments","created_at":"2016-01-12T02:09:49Z","updated_at":"2016-10-23T04:16:47Z","pushed_at":"2016-10-26T00:56:58Z","git_url":"git://github.com/edgurgel/verk_web.git","ssh_url":"git@github.com:edgurgel/verk_web.git","clone_url":"https://github.com/edgurgel/verk_web.git","svn_url":"https://github.com/edgurgel/verk_web","homepage":"https://hex.pm/packages/verk_web","size":367,"stargazers_count":20,"watchers_count":20,"language":"Elixir","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":12,"forks":5,"open_issues":12,"watchers":20,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/edgurgel/verk_web/pulls/27"},"html":{"href":"https://github.com/edgurgel/verk_web/pull/27"},"issue":{"href":"https://api.github.com/repos/edgurgel/verk_web/issues/27"},"comments":{"href":"https://api.github.com/repos/edgurgel/verk_web/issues/27/comments"},"review_comments":{"href":"https://api.github.com/repos/edgurgel/verk_web/pulls/27/comments"},"review_comment":{"href":"https://api.github.com/repos/edgurgel/verk_web/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/edgurgel/verk_web/pulls/27/commits"},"statuses":{"href":"https://api.github.com/repos/edgurgel/verk_web/statuses/9073bfd73caaf092511af6a3788ac2971fd9b2e1"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":8,"deletions":3,"changed_files":2}}
{"actor":{"display_login":"keyan"}}