{"action":"created","comment":{"url":"https://api.github.com/repos/openwhisk/openwhisk-cloudant-trigger/pulls/comments/86558845","pull_request_review_id":7212927,"id":86558845,"diff_hunk":"@@ -80,10 +85,18 @@ function createTriggerDb () {\n \n   var nanop = null;\n \n+  var connectionAgent = new RequestAgent({\n+\t  maxSockets: maximumDbConnections\n+  });\n+\n   // no need for a promise here, but leaving code inplace until we prove out the question of cookie usage\n   var promise = new Promise(function(resolve, reject) {\n \n     logger.info('url is ' +  dbProtocol + '://' + dbUsername + ':' + dbPassword + '@' + dbHost);\n+    //nanop = require('nano')({\n+    //\t'url': dbProtocol + '://' + dbUsername + ':' + dbPassword + '@' + dbHost,\n+    //\t'requestDefaults': { 'agent' : connectionAgent }\n+    //});","path":"app.js","position":34,"original_position":34,"commit_id":"fc53d77ed7f130c876c2f68de12fca94318b448d","original_commit_id":"fc53d77ed7f130c876c2f68de12fca94318b448d","user":{"login":"jasonpet","id":4671370,"avatar_url":"https://avatars.githubusercontent.com/u/4671370?v=3","gravatar_id":"","url":"https://api.github.com/users/jasonpet","html_url":"https://github.com/jasonpet","followers_url":"https://api.github.com/users/jasonpet/followers","following_url":"https://api.github.com/users/jasonpet/following{/other_user}","gists_url":"https://api.github.com/users/jasonpet/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonpet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonpet/subscriptions","organizations_url":"https://api.github.com/users/jasonpet/orgs","repos_url":"https://api.github.com/users/jasonpet/repos","events_url":"https://api.github.com/users/jasonpet/events{/privacy}","received_events_url":"https://api.github.com/users/jasonpet/received_events","type":"User","site_admin":false},"body":"why are you adding commented out code?","created_at":"2016-11-04T14:42:05Z","updated_at":"2016-11-04T14:42:05Z","html_url":"https://github.com/openwhisk/openwhisk-cloudant-trigger/pull/17#discussion_r86558845","pull_request_url":"https://api.github.com/repos/openwhisk/openwhisk-cloudant-trigger/pulls/17","_links":{"self":{"href":"https://api.github.com/repos/openwhisk/openwhisk-cloudant-trigger/pulls/comments/86558845"},"html":{"href":"https://github.com/openwhisk/openwhisk-cloudant-trigger/pull/17#discussion_r86558845"},"pull_request":{"href":"https://api.github.com/repos/openwhisk/openwhisk-cloudant-trigger/pulls/17"}}},"pull_request":{"url":"https://api.github.com/repos/openwhisk/openwhisk-cloudant-trigger/pulls/17","id":92345882,"html_url":"https://github.com/openwhisk/openwhisk-cloudant-trigger/pull/17","diff_url":"https://github.com/openwhisk/openwhisk-cloudant-trigger/pull/17.diff","patch_url":"https://github.com/openwhisk/openwhisk-cloudant-trigger/pull/17.patch","issue_url":"https://api.github.com/repos/openwhisk/openwhisk-cloudant-trigger/issues/17","number":17,"state":"open","locked":false,"title":"updates to support old feeds along with new ones","user":{"login":"johnsolm","id":19310654,"avatar_url":"https://avatars.githubusercontent.com/u/19310654?v=3","gravatar_id":"","url":"https://api.github.com/users/johnsolm","html_url":"https://github.com/johnsolm","followers_url":"https://api.github.com/users/johnsolm/followers","following_url":"https://api.github.com/users/johnsolm/following{/other_user}","gists_url":"https://api.github.com/users/johnsolm/gists{/gist_id}","starred_url":"https://api.github.com/users/johnsolm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnsolm/subscriptions","organizations_url":"https://api.github.com/users/johnsolm/orgs","repos_url":"https://api.github.com/users/johnsolm/repos","events_url":"https://api.github.com/users/johnsolm/events{/privacy}","received_events_url":"https://api.github.com/users/johnsolm/received_events","type":"User","site_admin":false},"body":"updates to support old feeds along with new ones","created_at":"2016-11-04T14:06:58Z","updated_at":"2016-11-04T14:42:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"26ce32c41b194ad3a6afeec740e85f2f1f2e0e6a","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/openwhisk/openwhisk-cloudant-trigger/pulls/17/commits","review_comments_url":"https://api.github.com/repos/openwhisk/openwhisk-cloudant-trigger/pulls/17/comments","review_comment_url":"https://api.github.com/repos/openwhisk/openwhisk-cloudant-trigger/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openwhisk/openwhisk-cloudant-trigger/issues/17/comments","statuses_url":"https://api.github.com/repos/openwhisk/openwhisk-cloudant-trigger/statuses/fc53d77ed7f130c876c2f68de12fca94318b448d","head":{"label":"johnsolm:cloudant-trigger-refactor","ref":"cloudant-trigger-refactor","sha":"fc53d77ed7f130c876c2f68de12fca94318b448d","user":{"login":"johnsolm","id":19310654,"avatar_url":"https://avatars.githubusercontent.com/u/19310654?v=3","gravatar_id":"","url":"https://api.github.com/users/johnsolm","html_url":"https://github.com/johnsolm","followers_url":"https://api.github.com/users/johnsolm/followers","following_url":"https://api.github.com/users/johnsolm/following{/other_user}","gists_url":"https://api.github.com/users/johnsolm/gists{/gist_id}","starred_url":"https://api.github.com/users/johnsolm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnsolm/subscriptions","organizations_url":"https://api.github.com/users/johnsolm/orgs","repos_url":"https://api.github.com/users/johnsolm/repos","events_url":"https://api.github.com/users/johnsolm/events{/privacy}","received_events_url":"https://api.github.com/users/johnsolm/received_events","type":"User","site_admin":false},"repo":{"id":72436650,"name":"openwhisk-cloudant-trigger","full_name":"johnsolm/openwhisk-cloudant-trigger","owner":{"login":"johnsolm","id":19310654,"avatar_url":"https://avatars.githubusercontent.com/u/19310654?v=3","gravatar_id":"","url":"https://api.github.com/users/johnsolm","html_url":"https://github.com/johnsolm","followers_url":"https://api.github.com/users/johnsolm/followers","following_url":"https://api.github.com/users/johnsolm/following{/other_user}","gists_url":"https://api.github.com/users/johnsolm/gists{/gist_id}","starred_url":"https://api.github.com/users/johnsolm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnsolm/subscriptions","organizations_url":"https://api.github.com/users/johnsolm/orgs","repos_url":"https://api.github.com/users/johnsolm/repos","events_url":"https://api.github.com/users/johnsolm/events{/privacy}","received_events_url":"https://api.github.com/users/johnsolm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/johnsolm/openwhisk-cloudant-trigger","description":null,"fork":true,"url":"https://api.github.com/repos/johnsolm/openwhisk-cloudant-trigger","forks_url":"https://api.github.com/repos/johnsolm/openwhisk-cloudant-trigger/forks","keys_url":"https://api.github.com/repos/johnsolm/openwhisk-cloudant-trigger/keys{/key_id}","collaborators_url":"https://api.github.com/repos/johnsolm/openwhisk-cloudant-trigger/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/johnsolm/openwhisk-cloudant-trigger/teams","hooks_url":"https://api.github.com/repos/johnsolm/openwhisk-cloudant-trigger/hooks","issue_events_url":"https://api.github.com/repos/johnsolm/openwhisk-cloudant-trigger/issues/events{/number}","events_url":"https://api.github.com/repos/johnsolm/openwhisk-cloudant-trigger/events","assignees_url":"https://api.github.com/repos/johnsolm/openwhisk-cloudant-trigger/assignees{/user}","branches_url":"https://api.github.com/repos/johnsolm/openwhisk-cloudant-trigger/branches{/branch}","tags_url":"https://api.github.com/repos/johnsolm/openwhisk-cloudant-trigger/tags","blobs_url":"https://api.github.com/repos/johnsolm/openwhisk-cloudant-trigger/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/johnsolm/openwhisk-cloudant-trigger/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/johnsolm/openwhisk-cloudant-trigger/git/refs{/sha}","trees_url":"https://api.github.com/repos/johnsolm/openwhisk-cloudant-trigger/git/trees{/sha}","statuses_url":"https://api.github.com/repos/johnsolm/openwhisk-cloudant-trigger/statuses/{sha}","languages_url":"https://api.github.com/repos/johnsolm/openwhisk-cloudant-trigger/languages","stargazers_url":"https://api.github.com/repos/johnsolm/openwhisk-cloudant-trigger/stargazers","contributors_url":"https://api.github.com/repos/johnsolm/openwhisk-cloudant-trigger/contributors","subscribers_url":"https://api.github.com/repos/johnsolm/openwhisk-cloudant-trigger/subscribers","subscription_url":"https://api.github.com/repos/johnsolm/openwhisk-cloudant-trigger/subscription","commits_url":"https://api.github.com/repos/johnsolm/openwhisk-cloudant-trigger/commits{/sha}","git_commits_url":"https://api.github.com/repos/johnsolm/openwhisk-cloudant-trigger/git/commits{/sha}","comments_url":"https://api.github.com/repos/johnsolm/openwhisk-cloudant-trigger/comments{/number}","issue_comment_url":"https://api.github.com/repos/johnsolm/openwhisk-cloudant-trigger/issues/comments{/number}","contents_url":"https://api.github.com/repos/johnsolm/openwhisk-cloudant-trigger/contents/{+path}","compare_url":"https://api.github.com/repos/johnsolm/openwhisk-cloudant-trigger/compare/{base}...{head}","merges_url":"https://api.github.com/repos/johnsolm/openwhisk-cloudant-trigger/merges","archive_url":"https://api.github.com/repos/johnsolm/openwhisk-cloudant-trigger/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/johnsolm/openwhisk-cloudant-trigger/downloads","issues_url":"https://api.github.com/repos/johnsolm/openwhisk-cloudant-trigger/issues{/number}","pulls_url":"https://api.github.com/repos/johnsolm/openwhisk-cloudant-trigger/pulls{/number}","milestones_url":"https://api.github.com/repos/johnsolm/openwhisk-cloudant-trigger/milestones{/number}","notifications_url":"https://api.github.com/repos/johnsolm/openwhisk-cloudant-trigger/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/johnsolm/openwhisk-cloudant-trigger/labels{/name}","releases_url":"https://api.github.com/repos/johnsolm/openwhisk-cloudant-trigger/releases{/id}","deployments_url":"https://api.github.com/repos/johnsolm/openwhisk-cloudant-trigger/deployments","created_at":"2016-10-31T13:01:05Z","updated_at":"2016-10-31T13:01:06Z","pushed_at":"2016-11-04T14:21:28Z","git_url":"git://github.com/johnsolm/openwhisk-cloudant-trigger.git","ssh_url":"git@github.com:johnsolm/openwhisk-cloudant-trigger.git","clone_url":"https://github.com/johnsolm/openwhisk-cloudant-trigger.git","svn_url":"https://github.com/johnsolm/openwhisk-cloudant-trigger","homepage":null,"size":78,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"openwhisk:master","ref":"master","sha":"3884eececdfa23c658aad34504469f7c30af2d08","user":{"login":"openwhisk","id":16900235,"avatar_url":"https://avatars.githubusercontent.com/u/16900235?v=3","gravatar_id":"","url":"https://api.github.com/users/openwhisk","html_url":"https://github.com/openwhisk","followers_url":"https://api.github.com/users/openwhisk/followers","following_url":"https://api.github.com/users/openwhisk/following{/other_user}","gists_url":"https://api.github.com/users/openwhisk/gists{/gist_id}","starred_url":"https://api.github.com/users/openwhisk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openwhisk/subscriptions","organizations_url":"https://api.github.com/users/openwhisk/orgs","repos_url":"https://api.github.com/users/openwhisk/repos","events_url":"https://api.github.com/users/openwhisk/events{/privacy}","received_events_url":"https://api.github.com/users/openwhisk/received_events","type":"Organization","site_admin":false},"repo":{"id":71356594,"name":"openwhisk-cloudant-trigger","full_name":"openwhisk/openwhisk-cloudant-trigger","owner":{"login":"openwhisk","id":16900235,"avatar_url":"https://avatars.githubusercontent.com/u/16900235?v=3","gravatar_id":"","url":"https://api.github.com/users/openwhisk","html_url":"https://github.com/openwhisk","followers_url":"https://api.github.com/users/openwhisk/followers","following_url":"https://api.github.com/users/openwhisk/following{/other_user}","gists_url":"https://api.github.com/users/openwhisk/gists{/gist_id}","starred_url":"https://api.github.com/users/openwhisk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openwhisk/subscriptions","organizations_url":"https://api.github.com/users/openwhisk/orgs","repos_url":"https://api.github.com/users/openwhisk/repos","events_url":"https://api.github.com/users/openwhisk/events{/privacy}","received_events_url":"https://api.github.com/users/openwhisk/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openwhisk/openwhisk-cloudant-trigger","description":null,"fork":false,"url":"https://api.github.com/repos/openwhisk/openwhisk-cloudant-trigger","forks_url":"https://api.github.com/repos/openwhisk/openwhisk-cloudant-trigger/forks","keys_url":"https://api.github.com/repos/openwhisk/openwhisk-cloudant-trigger/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openwhisk/openwhisk-cloudant-trigger/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openwhisk/openwhisk-cloudant-trigger/teams","hooks_url":"https://api.github.com/repos/openwhisk/openwhisk-cloudant-trigger/hooks","issue_events_url":"https://api.github.com/repos/openwhisk/openwhisk-cloudant-trigger/issues/events{/number}","events_url":"https://api.github.com/repos/openwhisk/openwhisk-cloudant-trigger/events","assignees_url":"https://api.github.com/repos/openwhisk/openwhisk-cloudant-trigger/assignees{/user}","branches_url":"https://api.github.com/repos/openwhisk/openwhisk-cloudant-trigger/branches{/branch}","tags_url":"https://api.github.com/repos/openwhisk/openwhisk-cloudant-trigger/tags","blobs_url":"https://api.github.com/repos/openwhisk/openwhisk-cloudant-trigger/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openwhisk/openwhisk-cloudant-trigger/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openwhisk/openwhisk-cloudant-trigger/git/refs{/sha}","trees_url":"https://api.github.com/repos/openwhisk/openwhisk-cloudant-trigger/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openwhisk/openwhisk-cloudant-trigger/statuses/{sha}","languages_url":"https://api.github.com/repos/openwhisk/openwhisk-cloudant-trigger/languages","stargazers_url":"https://api.github.com/repos/openwhisk/openwhisk-cloudant-trigger/stargazers","contributors_url":"https://api.github.com/repos/openwhisk/openwhisk-cloudant-trigger/contributors","subscribers_url":"https://api.github.com/repos/openwhisk/openwhisk-cloudant-trigger/subscribers","subscription_url":"https://api.github.com/repos/openwhisk/openwhisk-cloudant-trigger/subscription","commits_url":"https://api.github.com/repos/openwhisk/openwhisk-cloudant-trigger/commits{/sha}","git_commits_url":"https://api.github.com/repos/openwhisk/openwhisk-cloudant-trigger/git/commits{/sha}","comments_url":"https://api.github.com/repos/openwhisk/openwhisk-cloudant-trigger/comments{/number}","issue_comment_url":"https://api.github.com/repos/openwhisk/openwhisk-cloudant-trigger/issues/comments{/number}","contents_url":"https://api.github.com/repos/openwhisk/openwhisk-cloudant-trigger/contents/{+path}","compare_url":"https://api.github.com/repos/openwhisk/openwhisk-cloudant-trigger/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openwhisk/openwhisk-cloudant-trigger/merges","archive_url":"https://api.github.com/repos/openwhisk/openwhisk-cloudant-trigger/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openwhisk/openwhisk-cloudant-trigger/downloads","issues_url":"https://api.github.com/repos/openwhisk/openwhisk-cloudant-trigger/issues{/number}","pulls_url":"https://api.github.com/repos/openwhisk/openwhisk-cloudant-trigger/pulls{/number}","milestones_url":"https://api.github.com/repos/openwhisk/openwhisk-cloudant-trigger/milestones{/number}","notifications_url":"https://api.github.com/repos/openwhisk/openwhisk-cloudant-trigger/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openwhisk/openwhisk-cloudant-trigger/labels{/name}","releases_url":"https://api.github.com/repos/openwhisk/openwhisk-cloudant-trigger/releases{/id}","deployments_url":"https://api.github.com/repos/openwhisk/openwhisk-cloudant-trigger/deployments","created_at":"2016-10-19T12:50:11Z","updated_at":"2016-10-19T13:10:34Z","pushed_at":"2016-11-04T14:21:29Z","git_url":"git://github.com/openwhisk/openwhisk-cloudant-trigger.git","ssh_url":"git@github.com:openwhisk/openwhisk-cloudant-trigger.git","clone_url":"https://github.com/openwhisk/openwhisk-cloudant-trigger.git","svn_url":"https://github.com/openwhisk/openwhisk-cloudant-trigger","homepage":null,"size":78,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":6,"forks":2,"open_issues":6,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openwhisk/openwhisk-cloudant-trigger/pulls/17"},"html":{"href":"https://github.com/openwhisk/openwhisk-cloudant-trigger/pull/17"},"issue":{"href":"https://api.github.com/repos/openwhisk/openwhisk-cloudant-trigger/issues/17"},"comments":{"href":"https://api.github.com/repos/openwhisk/openwhisk-cloudant-trigger/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/openwhisk/openwhisk-cloudant-trigger/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/openwhisk/openwhisk-cloudant-trigger/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openwhisk/openwhisk-cloudant-trigger/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/openwhisk/openwhisk-cloudant-trigger/statuses/fc53d77ed7f130c876c2f68de12fca94318b448d"}}}}
{"actor":{"display_login":"jasonpet"}}