{"action":"created","comment":{"url":"https://api.github.com/repos/koala-framework/koala-framework/pulls/comments/75803975","id":75803975,"diff_hunk":"@@ -113,10 +112,70 @@ public function loadWithMetadata($componentId, $renderer='component', $type = 'c\n         return $data;\n     }\n \n-    public function deleteViewCache($select, $progressBarAdapter = null)\n+    public function countViewCacheEntries($updates)\n     {\n-        $microtime = $this->_getMicrotime();\n+        $select = $this->buildSelectForDelete($updates);","path":"Kwf/Component/Cache/Mysql.php","position":16,"original_position":16,"commit_id":"4429245c8b43003ff3e803c328482c61d97e22c8","original_commit_id":"4429245c8b43003ff3e803c328482c61d97e22c8","user":{"login":"kaufmo","id":1416828,"avatar_url":"https://avatars.githubusercontent.com/u/1416828?v=3","gravatar_id":"","url":"https://api.github.com/users/kaufmo","html_url":"https://github.com/kaufmo","followers_url":"https://api.github.com/users/kaufmo/followers","following_url":"https://api.github.com/users/kaufmo/following{/other_user}","gists_url":"https://api.github.com/users/kaufmo/gists{/gist_id}","starred_url":"https://api.github.com/users/kaufmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaufmo/subscriptions","organizations_url":"https://api.github.com/users/kaufmo/orgs","repos_url":"https://api.github.com/users/kaufmo/repos","events_url":"https://api.github.com/users/kaufmo/events{/privacy}","received_events_url":"https://api.github.com/users/kaufmo/received_events","type":"User","site_admin":false},"body":"because you are in countViewCacheEntries","created_at":"2016-08-23T05:20:52Z","updated_at":"2016-08-23T05:20:52Z","html_url":"https://github.com/koala-framework/koala-framework/pull/554#discussion_r75803975","pull_request_url":"https://api.github.com/repos/koala-framework/koala-framework/pulls/554","_links":{"self":{"href":"https://api.github.com/repos/koala-framework/koala-framework/pulls/comments/75803975"},"html":{"href":"https://github.com/koala-framework/koala-framework/pull/554#discussion_r75803975"},"pull_request":{"href":"https://api.github.com/repos/koala-framework/koala-framework/pulls/554"}}},"pull_request":{"url":"https://api.github.com/repos/koala-framework/koala-framework/pulls/554","id":82221260,"html_url":"https://github.com/koala-framework/koala-framework/pull/554","diff_url":"https://github.com/koala-framework/koala-framework/pull/554.diff","patch_url":"https://github.com/koala-framework/koala-framework/pull/554.patch","issue_url":"https://api.github.com/repos/koala-framework/koala-framework/issues/554","number":554,"state":"open","locked":false,"title":"Add support for redis as alternative for memcache","user":{"login":"nsams","id":50764,"avatar_url":"https://avatars.githubusercontent.com/u/50764?v=3","gravatar_id":"","url":"https://api.github.com/users/nsams","html_url":"https://github.com/nsams","followers_url":"https://api.github.com/users/nsams/followers","following_url":"https://api.github.com/users/nsams/following{/other_user}","gists_url":"https://api.github.com/users/nsams/gists{/gist_id}","starred_url":"https://api.github.com/users/nsams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nsams/subscriptions","organizations_url":"https://api.github.com/users/nsams/orgs","repos_url":"https://api.github.com/users/nsams/repos","events_url":"https://api.github.com/users/nsams/events{/privacy}","received_events_url":"https://api.github.com/users/nsams/received_events","type":"User","site_admin":false},"body":"Advantage is that we can drop mysql for clearing cache as we can create an index in redis","created_at":"2016-08-22T16:25:24Z","updated_at":"2016-08-23T05:20:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3860c1426a8f0b6bb0bf3a007523c0c689e26b95","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/koala-framework/koala-framework/pulls/554/commits","review_comments_url":"https://api.github.com/repos/koala-framework/koala-framework/pulls/554/comments","review_comment_url":"https://api.github.com/repos/koala-framework/koala-framework/pulls/comments{/number}","comments_url":"https://api.github.com/repos/koala-framework/koala-framework/issues/554/comments","statuses_url":"https://api.github.com/repos/koala-framework/koala-framework/statuses/4429245c8b43003ff3e803c328482c61d97e22c8","head":{"label":"nsams:redis-view-cache","ref":"redis-view-cache","sha":"4429245c8b43003ff3e803c328482c61d97e22c8","user":{"login":"nsams","id":50764,"avatar_url":"https://avatars.githubusercontent.com/u/50764?v=3","gravatar_id":"","url":"https://api.github.com/users/nsams","html_url":"https://github.com/nsams","followers_url":"https://api.github.com/users/nsams/followers","following_url":"https://api.github.com/users/nsams/following{/other_user}","gists_url":"https://api.github.com/users/nsams/gists{/gist_id}","starred_url":"https://api.github.com/users/nsams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nsams/subscriptions","organizations_url":"https://api.github.com/users/nsams/orgs","repos_url":"https://api.github.com/users/nsams/repos","events_url":"https://api.github.com/users/nsams/events{/privacy}","received_events_url":"https://api.github.com/users/nsams/received_events","type":"User","site_admin":false},"repo":{"id":6918151,"name":"koala-framework","full_name":"nsams/koala-framework","owner":{"login":"nsams","id":50764,"avatar_url":"https://avatars.githubusercontent.com/u/50764?v=3","gravatar_id":"","url":"https://api.github.com/users/nsams","html_url":"https://github.com/nsams","followers_url":"https://api.github.com/users/nsams/followers","following_url":"https://api.github.com/users/nsams/following{/other_user}","gists_url":"https://api.github.com/users/nsams/gists{/gist_id}","starred_url":"https://api.github.com/users/nsams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nsams/subscriptions","organizations_url":"https://api.github.com/users/nsams/orgs","repos_url":"https://api.github.com/users/nsams/repos","events_url":"https://api.github.com/users/nsams/events{/privacy}","received_events_url":"https://api.github.com/users/nsams/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nsams/koala-framework","description":"Framework and CMS based on Zend Framework and ExtJS","fork":true,"url":"https://api.github.com/repos/nsams/koala-framework","forks_url":"https://api.github.com/repos/nsams/koala-framework/forks","keys_url":"https://api.github.com/repos/nsams/koala-framework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nsams/koala-framework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nsams/koala-framework/teams","hooks_url":"https://api.github.com/repos/nsams/koala-framework/hooks","issue_events_url":"https://api.github.com/repos/nsams/koala-framework/issues/events{/number}","events_url":"https://api.github.com/repos/nsams/koala-framework/events","assignees_url":"https://api.github.com/repos/nsams/koala-framework/assignees{/user}","branches_url":"https://api.github.com/repos/nsams/koala-framework/branches{/branch}","tags_url":"https://api.github.com/repos/nsams/koala-framework/tags","blobs_url":"https://api.github.com/repos/nsams/koala-framework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nsams/koala-framework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nsams/koala-framework/git/refs{/sha}","trees_url":"https://api.github.com/repos/nsams/koala-framework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nsams/koala-framework/statuses/{sha}","languages_url":"https://api.github.com/repos/nsams/koala-framework/languages","stargazers_url":"https://api.github.com/repos/nsams/koala-framework/stargazers","contributors_url":"https://api.github.com/repos/nsams/koala-framework/contributors","subscribers_url":"https://api.github.com/repos/nsams/koala-framework/subscribers","subscription_url":"https://api.github.com/repos/nsams/koala-framework/subscription","commits_url":"https://api.github.com/repos/nsams/koala-framework/commits{/sha}","git_commits_url":"https://api.github.com/repos/nsams/koala-framework/git/commits{/sha}","comments_url":"https://api.github.com/repos/nsams/koala-framework/comments{/number}","issue_comment_url":"https://api.github.com/repos/nsams/koala-framework/issues/comments{/number}","contents_url":"https://api.github.com/repos/nsams/koala-framework/contents/{+path}","compare_url":"https://api.github.com/repos/nsams/koala-framework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nsams/koala-framework/merges","archive_url":"https://api.github.com/repos/nsams/koala-framework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nsams/koala-framework/downloads","issues_url":"https://api.github.com/repos/nsams/koala-framework/issues{/number}","pulls_url":"https://api.github.com/repos/nsams/koala-framework/pulls{/number}","milestones_url":"https://api.github.com/repos/nsams/koala-framework/milestones{/number}","notifications_url":"https://api.github.com/repos/nsams/koala-framework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nsams/koala-framework/labels{/name}","releases_url":"https://api.github.com/repos/nsams/koala-framework/releases{/id}","deployments_url":"https://api.github.com/repos/nsams/koala-framework/deployments","created_at":"2012-11-29T09:14:47Z","updated_at":"2015-01-18T02:50:27Z","pushed_at":"2016-08-22T16:36:24Z","git_url":"git://github.com/nsams/koala-framework.git","ssh_url":"git@github.com:nsams/koala-framework.git","clone_url":"https://github.com/nsams/koala-framework.git","svn_url":"https://github.com/nsams/koala-framework","homepage":"http://www.koala-framework.org/","size":66629,"stargazers_count":1,"watchers_count":1,"language":"PHP","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":1,"default_branch":"master"}},"base":{"label":"koala-framework:4.2","ref":"4.2","sha":"9e8195c83f1c31535c4f8ddaab4e51f3ed9ac90e","user":{"login":"koala-framework","id":7679767,"avatar_url":"https://avatars.githubusercontent.com/u/7679767?v=3","gravatar_id":"","url":"https://api.github.com/users/koala-framework","html_url":"https://github.com/koala-framework","followers_url":"https://api.github.com/users/koala-framework/followers","following_url":"https://api.github.com/users/koala-framework/following{/other_user}","gists_url":"https://api.github.com/users/koala-framework/gists{/gist_id}","starred_url":"https://api.github.com/users/koala-framework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koala-framework/subscriptions","organizations_url":"https://api.github.com/users/koala-framework/orgs","repos_url":"https://api.github.com/users/koala-framework/repos","events_url":"https://api.github.com/users/koala-framework/events{/privacy}","received_events_url":"https://api.github.com/users/koala-framework/received_events","type":"Organization","site_admin":false},"repo":{"id":2466955,"name":"koala-framework","full_name":"koala-framework/koala-framework","owner":{"login":"koala-framework","id":7679767,"avatar_url":"https://avatars.githubusercontent.com/u/7679767?v=3","gravatar_id":"","url":"https://api.github.com/users/koala-framework","html_url":"https://github.com/koala-framework","followers_url":"https://api.github.com/users/koala-framework/followers","following_url":"https://api.github.com/users/koala-framework/following{/other_user}","gists_url":"https://api.github.com/users/koala-framework/gists{/gist_id}","starred_url":"https://api.github.com/users/koala-framework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koala-framework/subscriptions","organizations_url":"https://api.github.com/users/koala-framework/orgs","repos_url":"https://api.github.com/users/koala-framework/repos","events_url":"https://api.github.com/users/koala-framework/events{/privacy}","received_events_url":"https://api.github.com/users/koala-framework/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/koala-framework/koala-framework","description":"Framework and CMS based on Zend Framework and ExtJS","fork":false,"url":"https://api.github.com/repos/koala-framework/koala-framework","forks_url":"https://api.github.com/repos/koala-framework/koala-framework/forks","keys_url":"https://api.github.com/repos/koala-framework/koala-framework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/koala-framework/koala-framework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/koala-framework/koala-framework/teams","hooks_url":"https://api.github.com/repos/koala-framework/koala-framework/hooks","issue_events_url":"https://api.github.com/repos/koala-framework/koala-framework/issues/events{/number}","events_url":"https://api.github.com/repos/koala-framework/koala-framework/events","assignees_url":"https://api.github.com/repos/koala-framework/koala-framework/assignees{/user}","branches_url":"https://api.github.com/repos/koala-framework/koala-framework/branches{/branch}","tags_url":"https://api.github.com/repos/koala-framework/koala-framework/tags","blobs_url":"https://api.github.com/repos/koala-framework/koala-framework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/koala-framework/koala-framework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/koala-framework/koala-framework/git/refs{/sha}","trees_url":"https://api.github.com/repos/koala-framework/koala-framework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/koala-framework/koala-framework/statuses/{sha}","languages_url":"https://api.github.com/repos/koala-framework/koala-framework/languages","stargazers_url":"https://api.github.com/repos/koala-framework/koala-framework/stargazers","contributors_url":"https://api.github.com/repos/koala-framework/koala-framework/contributors","subscribers_url":"https://api.github.com/repos/koala-framework/koala-framework/subscribers","subscription_url":"https://api.github.com/repos/koala-framework/koala-framework/subscription","commits_url":"https://api.github.com/repos/koala-framework/koala-framework/commits{/sha}","git_commits_url":"https://api.github.com/repos/koala-framework/koala-framework/git/commits{/sha}","comments_url":"https://api.github.com/repos/koala-framework/koala-framework/comments{/number}","issue_comment_url":"https://api.github.com/repos/koala-framework/koala-framework/issues/comments{/number}","contents_url":"https://api.github.com/repos/koala-framework/koala-framework/contents/{+path}","compare_url":"https://api.github.com/repos/koala-framework/koala-framework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/koala-framework/koala-framework/merges","archive_url":"https://api.github.com/repos/koala-framework/koala-framework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/koala-framework/koala-framework/downloads","issues_url":"https://api.github.com/repos/koala-framework/koala-framework/issues{/number}","pulls_url":"https://api.github.com/repos/koala-framework/koala-framework/pulls{/number}","milestones_url":"https://api.github.com/repos/koala-framework/koala-framework/milestones{/number}","notifications_url":"https://api.github.com/repos/koala-framework/koala-framework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/koala-framework/koala-framework/labels{/name}","releases_url":"https://api.github.com/repos/koala-framework/koala-framework/releases{/id}","deployments_url":"https://api.github.com/repos/koala-framework/koala-framework/deployments","created_at":"2011-09-27T10:36:51Z","updated_at":"2016-05-06T22:10:43Z","pushed_at":"2016-08-22T16:36:25Z","git_url":"git://github.com/koala-framework/koala-framework.git","ssh_url":"git@github.com:koala-framework/koala-framework.git","clone_url":"https://github.com/koala-framework/koala-framework.git","svn_url":"https://github.com/koala-framework/koala-framework","homepage":"http://www.koala-framework.org/","size":76762,"stargazers_count":41,"watchers_count":41,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":28,"mirror_url":null,"open_issues_count":32,"forks":28,"open_issues":32,"watchers":41,"default_branch":"4.1"}},"_links":{"self":{"href":"https://api.github.com/repos/koala-framework/koala-framework/pulls/554"},"html":{"href":"https://github.com/koala-framework/koala-framework/pull/554"},"issue":{"href":"https://api.github.com/repos/koala-framework/koala-framework/issues/554"},"comments":{"href":"https://api.github.com/repos/koala-framework/koala-framework/issues/554/comments"},"review_comments":{"href":"https://api.github.com/repos/koala-framework/koala-framework/pulls/554/comments"},"review_comment":{"href":"https://api.github.com/repos/koala-framework/koala-framework/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/koala-framework/koala-framework/pulls/554/commits"},"statuses":{"href":"https://api.github.com/repos/koala-framework/koala-framework/statuses/4429245c8b43003ff3e803c328482c61d97e22c8"}}}}
{"actor":{"display_login":"kaufmo"}}