{"action":"closed","number":243,"pull_request":{"url":"https://api.github.com/repos/spacewalkproject/spacewalk/pulls/243","id":31619818,"html_url":"https://github.com/spacewalkproject/spacewalk/pull/243","diff_url":"https://github.com/spacewalkproject/spacewalk/pull/243.diff","patch_url":"https://github.com/spacewalkproject/spacewalk/pull/243.patch","issue_url":"https://api.github.com/repos/spacewalkproject/spacewalk/issues/243","number":243,"state":"closed","locked":false,"title":"Improvements for the errata-cache taskomatic job","user":{"login":"renner","id":729454,"avatar_url":"https://avatars.githubusercontent.com/u/729454?v=3","gravatar_id":"","url":"https://api.github.com/users/renner","html_url":"https://github.com/renner","followers_url":"https://api.github.com/users/renner/followers","following_url":"https://api.github.com/users/renner/following{/other_user}","gists_url":"https://api.github.com/users/renner/gists{/gist_id}","starred_url":"https://api.github.com/users/renner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/renner/subscriptions","organizations_url":"https://api.github.com/users/renner/orgs","repos_url":"https://api.github.com/users/renner/repos","events_url":"https://api.github.com/users/renner/events{/privacy}","received_events_url":"https://api.github.com/users/renner/received_events","type":"User","site_admin":false},"body":"This is a patch about improving the errata cache taskomatic job by consolidating the list of tasks returned by `getCandidates()` in a way that only **one** cache update is scheduled per server. This might help to overcome performance problems in large installations where many systems are being managed, i.e. reduce the time needed to process a long queue.\r\n\r\nFor instance if you update the package list of a server twice in between two runs of the `errata-cache` job, taskomatic will afterwards schedule the cache update twice for the same server. If you register a system, a cache update will even be scheduled 9 times (in my tests) for a single server! When this patch is installed a cache update will only be done once per server for every run of the job.\r\n\r\nTo see relevant log output you might want to add this to the taskomatic log4j.properties:\r\n    \r\n    log4j.logger.com.redhat.rhn.taskomatic.task.ErrataCacheTask=DEBUG\r\n    log4j.logger.com.redhat.rhn.manager.errata.cache.UpdateErrataCacheCommand=DEBUG\r\n","created_at":"2015-03-20T14:48:01Z","updated_at":"2015-03-27T09:43:33Z","closed_at":"2015-03-27T09:43:33Z","merged_at":null,"merge_commit_sha":"4fbfac2cfb3c6a9fc9183ced1dd2f56d21a67e0f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/spacewalkproject/spacewalk/pulls/243/commits","review_comments_url":"https://api.github.com/repos/spacewalkproject/spacewalk/pulls/243/comments","review_comment_url":"https://api.github.com/repos/spacewalkproject/spacewalk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/spacewalkproject/spacewalk/issues/243/comments","statuses_url":"https://api.github.com/repos/spacewalkproject/spacewalk/statuses/e690153e0ecfee2a3cc9b915299f51d0d2f5388a","head":{"label":"renner:errata-cache-improvements","ref":"errata-cache-improvements","sha":"e690153e0ecfee2a3cc9b915299f51d0d2f5388a","user":{"login":"renner","id":729454,"avatar_url":"https://avatars.githubusercontent.com/u/729454?v=3","gravatar_id":"","url":"https://api.github.com/users/renner","html_url":"https://github.com/renner","followers_url":"https://api.github.com/users/renner/followers","following_url":"https://api.github.com/users/renner/following{/other_user}","gists_url":"https://api.github.com/users/renner/gists{/gist_id}","starred_url":"https://api.github.com/users/renner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/renner/subscriptions","organizations_url":"https://api.github.com/users/renner/orgs","repos_url":"https://api.github.com/users/renner/repos","events_url":"https://api.github.com/users/renner/events{/privacy}","received_events_url":"https://api.github.com/users/renner/received_events","type":"User","site_admin":false},"repo":{"id":19495389,"name":"spacewalk","full_name":"renner/spacewalk","owner":{"login":"renner","id":729454,"avatar_url":"https://avatars.githubusercontent.com/u/729454?v=3","gravatar_id":"","url":"https://api.github.com/users/renner","html_url":"https://github.com/renner","followers_url":"https://api.github.com/users/renner/followers","following_url":"https://api.github.com/users/renner/following{/other_user}","gists_url":"https://api.github.com/users/renner/gists{/gist_id}","starred_url":"https://api.github.com/users/renner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/renner/subscriptions","organizations_url":"https://api.github.com/users/renner/orgs","repos_url":"https://api.github.com/users/renner/repos","events_url":"https://api.github.com/users/renner/events{/privacy}","received_events_url":"https://api.github.com/users/renner/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/renner/spacewalk","description":"The master repository for the Spacewalk Project.","fork":true,"url":"https://api.github.com/repos/renner/spacewalk","forks_url":"https://api.github.com/repos/renner/spacewalk/forks","keys_url":"https://api.github.com/repos/renner/spacewalk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/renner/spacewalk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/renner/spacewalk/teams","hooks_url":"https://api.github.com/repos/renner/spacewalk/hooks","issue_events_url":"https://api.github.com/repos/renner/spacewalk/issues/events{/number}","events_url":"https://api.github.com/repos/renner/spacewalk/events","assignees_url":"https://api.github.com/repos/renner/spacewalk/assignees{/user}","branches_url":"https://api.github.com/repos/renner/spacewalk/branches{/branch}","tags_url":"https://api.github.com/repos/renner/spacewalk/tags","blobs_url":"https://api.github.com/repos/renner/spacewalk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/renner/spacewalk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/renner/spacewalk/git/refs{/sha}","trees_url":"https://api.github.com/repos/renner/spacewalk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/renner/spacewalk/statuses/{sha}","languages_url":"https://api.github.com/repos/renner/spacewalk/languages","stargazers_url":"https://api.github.com/repos/renner/spacewalk/stargazers","contributors_url":"https://api.github.com/repos/renner/spacewalk/contributors","subscribers_url":"https://api.github.com/repos/renner/spacewalk/subscribers","subscription_url":"https://api.github.com/repos/renner/spacewalk/subscription","commits_url":"https://api.github.com/repos/renner/spacewalk/commits{/sha}","git_commits_url":"https://api.github.com/repos/renner/spacewalk/git/commits{/sha}","comments_url":"https://api.github.com/repos/renner/spacewalk/comments{/number}","issue_comment_url":"https://api.github.com/repos/renner/spacewalk/issues/comments{/number}","contents_url":"https://api.github.com/repos/renner/spacewalk/contents/{+path}","compare_url":"https://api.github.com/repos/renner/spacewalk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/renner/spacewalk/merges","archive_url":"https://api.github.com/repos/renner/spacewalk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/renner/spacewalk/downloads","issues_url":"https://api.github.com/repos/renner/spacewalk/issues{/number}","pulls_url":"https://api.github.com/repos/renner/spacewalk/pulls{/number}","milestones_url":"https://api.github.com/repos/renner/spacewalk/milestones{/number}","notifications_url":"https://api.github.com/repos/renner/spacewalk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/renner/spacewalk/labels{/name}","releases_url":"https://api.github.com/repos/renner/spacewalk/releases{/id}","created_at":"2014-05-06T13:34:24Z","updated_at":"2015-03-20T14:09:37Z","pushed_at":"2015-03-20T14:37:11Z","git_url":"git://github.com/renner/spacewalk.git","ssh_url":"git@github.com:renner/spacewalk.git","clone_url":"https://github.com/renner/spacewalk.git","svn_url":"https://github.com/renner/spacewalk","homepage":"www.spacewalkproject.org","size":509924,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"spacewalkproject:master","ref":"master","sha":"28541b4cd78571520b09bc576ecdcf286b49dd80","user":{"login":"spacewalkproject","id":6648455,"avatar_url":"https://avatars.githubusercontent.com/u/6648455?v=3","gravatar_id":"","url":"https://api.github.com/users/spacewalkproject","html_url":"https://github.com/spacewalkproject","followers_url":"https://api.github.com/users/spacewalkproject/followers","following_url":"https://api.github.com/users/spacewalkproject/following{/other_user}","gists_url":"https://api.github.com/users/spacewalkproject/gists{/gist_id}","starred_url":"https://api.github.com/users/spacewalkproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spacewalkproject/subscriptions","organizations_url":"https://api.github.com/users/spacewalkproject/orgs","repos_url":"https://api.github.com/users/spacewalkproject/repos","events_url":"https://api.github.com/users/spacewalkproject/events{/privacy}","received_events_url":"https://api.github.com/users/spacewalkproject/received_events","type":"Organization","site_admin":false},"repo":{"id":17218148,"name":"spacewalk","full_name":"spacewalkproject/spacewalk","owner":{"login":"spacewalkproject","id":6648455,"avatar_url":"https://avatars.githubusercontent.com/u/6648455?v=3","gravatar_id":"","url":"https://api.github.com/users/spacewalkproject","html_url":"https://github.com/spacewalkproject","followers_url":"https://api.github.com/users/spacewalkproject/followers","following_url":"https://api.github.com/users/spacewalkproject/following{/other_user}","gists_url":"https://api.github.com/users/spacewalkproject/gists{/gist_id}","starred_url":"https://api.github.com/users/spacewalkproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spacewalkproject/subscriptions","organizations_url":"https://api.github.com/users/spacewalkproject/orgs","repos_url":"https://api.github.com/users/spacewalkproject/repos","events_url":"https://api.github.com/users/spacewalkproject/events{/privacy}","received_events_url":"https://api.github.com/users/spacewalkproject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/spacewalkproject/spacewalk","description":"The master repository for the Spacewalk Project.","fork":false,"url":"https://api.github.com/repos/spacewalkproject/spacewalk","forks_url":"https://api.github.com/repos/spacewalkproject/spacewalk/forks","keys_url":"https://api.github.com/repos/spacewalkproject/spacewalk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spacewalkproject/spacewalk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spacewalkproject/spacewalk/teams","hooks_url":"https://api.github.com/repos/spacewalkproject/spacewalk/hooks","issue_events_url":"https://api.github.com/repos/spacewalkproject/spacewalk/issues/events{/number}","events_url":"https://api.github.com/repos/spacewalkproject/spacewalk/events","assignees_url":"https://api.github.com/repos/spacewalkproject/spacewalk/assignees{/user}","branches_url":"https://api.github.com/repos/spacewalkproject/spacewalk/branches{/branch}","tags_url":"https://api.github.com/repos/spacewalkproject/spacewalk/tags","blobs_url":"https://api.github.com/repos/spacewalkproject/spacewalk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spacewalkproject/spacewalk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spacewalkproject/spacewalk/git/refs{/sha}","trees_url":"https://api.github.com/repos/spacewalkproject/spacewalk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spacewalkproject/spacewalk/statuses/{sha}","languages_url":"https://api.github.com/repos/spacewalkproject/spacewalk/languages","stargazers_url":"https://api.github.com/repos/spacewalkproject/spacewalk/stargazers","contributors_url":"https://api.github.com/repos/spacewalkproject/spacewalk/contributors","subscribers_url":"https://api.github.com/repos/spacewalkproject/spacewalk/subscribers","subscription_url":"https://api.github.com/repos/spacewalkproject/spacewalk/subscription","commits_url":"https://api.github.com/repos/spacewalkproject/spacewalk/commits{/sha}","git_commits_url":"https://api.github.com/repos/spacewalkproject/spacewalk/git/commits{/sha}","comments_url":"https://api.github.com/repos/spacewalkproject/spacewalk/comments{/number}","issue_comment_url":"https://api.github.com/repos/spacewalkproject/spacewalk/issues/comments{/number}","contents_url":"https://api.github.com/repos/spacewalkproject/spacewalk/contents/{+path}","compare_url":"https://api.github.com/repos/spacewalkproject/spacewalk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spacewalkproject/spacewalk/merges","archive_url":"https://api.github.com/repos/spacewalkproject/spacewalk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spacewalkproject/spacewalk/downloads","issues_url":"https://api.github.com/repos/spacewalkproject/spacewalk/issues{/number}","pulls_url":"https://api.github.com/repos/spacewalkproject/spacewalk/pulls{/number}","milestones_url":"https://api.github.com/repos/spacewalkproject/spacewalk/milestones{/number}","notifications_url":"https://api.github.com/repos/spacewalkproject/spacewalk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spacewalkproject/spacewalk/labels{/name}","releases_url":"https://api.github.com/repos/spacewalkproject/spacewalk/releases{/id}","created_at":"2014-02-26T17:04:20Z","updated_at":"2015-03-27T09:42:28Z","pushed_at":"2015-03-27T09:42:27Z","git_url":"git://github.com/spacewalkproject/spacewalk.git","ssh_url":"git@github.com:spacewalkproject/spacewalk.git","clone_url":"https://github.com/spacewalkproject/spacewalk.git","svn_url":"https://github.com/spacewalkproject/spacewalk","homepage":"www.spacewalkproject.org","size":786298,"stargazers_count":54,"watchers_count":54,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":58,"mirror_url":null,"open_issues_count":8,"forks":58,"open_issues":8,"watchers":54,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/spacewalkproject/spacewalk/pulls/243"},"html":{"href":"https://github.com/spacewalkproject/spacewalk/pull/243"},"issue":{"href":"https://api.github.com/repos/spacewalkproject/spacewalk/issues/243"},"comments":{"href":"https://api.github.com/repos/spacewalkproject/spacewalk/issues/243/comments"},"review_comments":{"href":"https://api.github.com/repos/spacewalkproject/spacewalk/pulls/243/comments"},"review_comment":{"href":"https://api.github.com/repos/spacewalkproject/spacewalk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/spacewalkproject/spacewalk/pulls/243/commits"},"statuses":{"href":"https://api.github.com/repos/spacewalkproject/spacewalk/statuses/e690153e0ecfee2a3cc9b915299f51d0d2f5388a"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":1,"review_comments":0,"commits":4,"additions":114,"deletions":11,"changed_files":5}}