{"action":"created","comment":{"url":"https://api.github.com/repos/datastax/cpp-driver/pulls/comments/35106999","id":35106999,"diff_hunk":"@@ -1155,6 +1155,37 @@ cass_cluster_set_tcp_keepalive(CassCluster* cluster,\n                                cass_bool_t enabled,\n                                unsigned delay_secs);\n \n+/**\n+ * Sets the amount of time between heartbeat messages and controls the amount\n+ * of time the connection must be idle before sending heartbeat messages. This\n+ * is useful for preventing intermediate network devices from dropping\n+ * connections.\n+ *\n+ * <b>Default:</b> 30 seconds\n+ *\n+ * @public @memberof CassCluster\n+ *\n+ * @param[in] cluster\n+ * @param[in] interval_ms Use 0 to disable heartbeat messages\n+ */\n+CASS_EXPORT void\n+cass_cluster_set_connection_heartbeat_interval(CassCluster* cluster,\n+                                               unsigned interval_secs);\n+\n+/**\n+ * TODO","path":"include/cassandra.h","position":22,"original_position":22,"commit_id":"05eb69f39a90240080a61db296a8a48212e8f5f8","original_commit_id":"05eb69f39a90240080a61db296a8a48212e8f5f8","user":{"login":"aholmberg","id":1443722,"avatar_url":"https://avatars.githubusercontent.com/u/1443722?v=3","gravatar_id":"","url":"https://api.github.com/users/aholmberg","html_url":"https://github.com/aholmberg","followers_url":"https://api.github.com/users/aholmberg/followers","following_url":"https://api.github.com/users/aholmberg/following{/other_user}","gists_url":"https://api.github.com/users/aholmberg/gists{/gist_id}","starred_url":"https://api.github.com/users/aholmberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aholmberg/subscriptions","organizations_url":"https://api.github.com/users/aholmberg/orgs","repos_url":"https://api.github.com/users/aholmberg/repos","events_url":"https://api.github.com/users/aholmberg/events{/privacy}","received_events_url":"https://api.github.com/users/aholmberg/received_events","type":"User","site_admin":false},"body":"description","created_at":"2015-07-21T14:22:56Z","updated_at":"2015-07-21T14:22:56Z","html_url":"https://github.com/datastax/cpp-driver/pull/188#discussion_r35106999","pull_request_url":"https://api.github.com/repos/datastax/cpp-driver/pulls/188","_links":{"self":{"href":"https://api.github.com/repos/datastax/cpp-driver/pulls/comments/35106999"},"html":{"href":"https://github.com/datastax/cpp-driver/pull/188#discussion_r35106999"},"pull_request":{"href":"https://api.github.com/repos/datastax/cpp-driver/pulls/188"}}},"pull_request":{"url":"https://api.github.com/repos/datastax/cpp-driver/pulls/188","id":40187793,"html_url":"https://github.com/datastax/cpp-driver/pull/188","diff_url":"https://github.com/datastax/cpp-driver/pull/188.diff","patch_url":"https://github.com/datastax/cpp-driver/pull/188.patch","issue_url":"https://api.github.com/repos/datastax/cpp-driver/issues/188","number":188,"state":"open","locked":false,"title":"152 - Idle connection heartbeat","user":{"login":"mpenick","id":3710715,"avatar_url":"https://avatars.githubusercontent.com/u/3710715?v=3","gravatar_id":"","url":"https://api.github.com/users/mpenick","html_url":"https://github.com/mpenick","followers_url":"https://api.github.com/users/mpenick/followers","following_url":"https://api.github.com/users/mpenick/following{/other_user}","gists_url":"https://api.github.com/users/mpenick/gists{/gist_id}","starred_url":"https://api.github.com/users/mpenick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpenick/subscriptions","organizations_url":"https://api.github.com/users/mpenick/orgs","repos_url":"https://api.github.com/users/mpenick/repos","events_url":"https://api.github.com/users/mpenick/events{/privacy}","received_events_url":"https://api.github.com/users/mpenick/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-16T23:38:54Z","updated_at":"2015-07-21T14:22:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"576949cc4c16a2d9d2a4b18d8659122c3542f372","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/datastax/cpp-driver/pulls/188/commits","review_comments_url":"https://api.github.com/repos/datastax/cpp-driver/pulls/188/comments","review_comment_url":"https://api.github.com/repos/datastax/cpp-driver/pulls/comments{/number}","comments_url":"https://api.github.com/repos/datastax/cpp-driver/issues/188/comments","statuses_url":"https://api.github.com/repos/datastax/cpp-driver/statuses/05eb69f39a90240080a61db296a8a48212e8f5f8","head":{"label":"datastax:152","ref":"152","sha":"05eb69f39a90240080a61db296a8a48212e8f5f8","user":{"login":"datastax","id":573369,"avatar_url":"https://avatars.githubusercontent.com/u/573369?v=3","gravatar_id":"","url":"https://api.github.com/users/datastax","html_url":"https://github.com/datastax","followers_url":"https://api.github.com/users/datastax/followers","following_url":"https://api.github.com/users/datastax/following{/other_user}","gists_url":"https://api.github.com/users/datastax/gists{/gist_id}","starred_url":"https://api.github.com/users/datastax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datastax/subscriptions","organizations_url":"https://api.github.com/users/datastax/orgs","repos_url":"https://api.github.com/users/datastax/repos","events_url":"https://api.github.com/users/datastax/events{/privacy}","received_events_url":"https://api.github.com/users/datastax/received_events","type":"Organization","site_admin":false},"repo":{"id":14125991,"name":"cpp-driver","full_name":"datastax/cpp-driver","owner":{"login":"datastax","id":573369,"avatar_url":"https://avatars.githubusercontent.com/u/573369?v=3","gravatar_id":"","url":"https://api.github.com/users/datastax","html_url":"https://github.com/datastax","followers_url":"https://api.github.com/users/datastax/followers","following_url":"https://api.github.com/users/datastax/following{/other_user}","gists_url":"https://api.github.com/users/datastax/gists{/gist_id}","starred_url":"https://api.github.com/users/datastax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datastax/subscriptions","organizations_url":"https://api.github.com/users/datastax/orgs","repos_url":"https://api.github.com/users/datastax/repos","events_url":"https://api.github.com/users/datastax/events{/privacy}","received_events_url":"https://api.github.com/users/datastax/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/datastax/cpp-driver","description":"DataStax C/C++ Driver for Apache Cassandra http://datastax.github.io/cpp-driver/","fork":false,"url":"https://api.github.com/repos/datastax/cpp-driver","forks_url":"https://api.github.com/repos/datastax/cpp-driver/forks","keys_url":"https://api.github.com/repos/datastax/cpp-driver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/datastax/cpp-driver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/datastax/cpp-driver/teams","hooks_url":"https://api.github.com/repos/datastax/cpp-driver/hooks","issue_events_url":"https://api.github.com/repos/datastax/cpp-driver/issues/events{/number}","events_url":"https://api.github.com/repos/datastax/cpp-driver/events","assignees_url":"https://api.github.com/repos/datastax/cpp-driver/assignees{/user}","branches_url":"https://api.github.com/repos/datastax/cpp-driver/branches{/branch}","tags_url":"https://api.github.com/repos/datastax/cpp-driver/tags","blobs_url":"https://api.github.com/repos/datastax/cpp-driver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/datastax/cpp-driver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/datastax/cpp-driver/git/refs{/sha}","trees_url":"https://api.github.com/repos/datastax/cpp-driver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/datastax/cpp-driver/statuses/{sha}","languages_url":"https://api.github.com/repos/datastax/cpp-driver/languages","stargazers_url":"https://api.github.com/repos/datastax/cpp-driver/stargazers","contributors_url":"https://api.github.com/repos/datastax/cpp-driver/contributors","subscribers_url":"https://api.github.com/repos/datastax/cpp-driver/subscribers","subscription_url":"https://api.github.com/repos/datastax/cpp-driver/subscription","commits_url":"https://api.github.com/repos/datastax/cpp-driver/commits{/sha}","git_commits_url":"https://api.github.com/repos/datastax/cpp-driver/git/commits{/sha}","comments_url":"https://api.github.com/repos/datastax/cpp-driver/comments{/number}","issue_comment_url":"https://api.github.com/repos/datastax/cpp-driver/issues/comments{/number}","contents_url":"https://api.github.com/repos/datastax/cpp-driver/contents/{+path}","compare_url":"https://api.github.com/repos/datastax/cpp-driver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/datastax/cpp-driver/merges","archive_url":"https://api.github.com/repos/datastax/cpp-driver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/datastax/cpp-driver/downloads","issues_url":"https://api.github.com/repos/datastax/cpp-driver/issues{/number}","pulls_url":"https://api.github.com/repos/datastax/cpp-driver/pulls{/number}","milestones_url":"https://api.github.com/repos/datastax/cpp-driver/milestones{/number}","notifications_url":"https://api.github.com/repos/datastax/cpp-driver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/datastax/cpp-driver/labels{/name}","releases_url":"https://api.github.com/repos/datastax/cpp-driver/releases{/id}","created_at":"2013-11-04T22:47:57Z","updated_at":"2015-06-29T14:13:04Z","pushed_at":"2015-07-21T00:06:10Z","git_url":"git://github.com/datastax/cpp-driver.git","ssh_url":"git@github.com:datastax/cpp-driver.git","clone_url":"https://github.com/datastax/cpp-driver.git","svn_url":"https://github.com/datastax/cpp-driver","homepage":"","size":66399,"stargazers_count":121,"watchers_count":121,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":78,"mirror_url":null,"open_issues_count":9,"forks":78,"open_issues":9,"watchers":121,"default_branch":"master"}},"base":{"label":"datastax:master","ref":"master","sha":"68fd48805fa9ee0f6ecc95fba27783fdfd370570","user":{"login":"datastax","id":573369,"avatar_url":"https://avatars.githubusercontent.com/u/573369?v=3","gravatar_id":"","url":"https://api.github.com/users/datastax","html_url":"https://github.com/datastax","followers_url":"https://api.github.com/users/datastax/followers","following_url":"https://api.github.com/users/datastax/following{/other_user}","gists_url":"https://api.github.com/users/datastax/gists{/gist_id}","starred_url":"https://api.github.com/users/datastax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datastax/subscriptions","organizations_url":"https://api.github.com/users/datastax/orgs","repos_url":"https://api.github.com/users/datastax/repos","events_url":"https://api.github.com/users/datastax/events{/privacy}","received_events_url":"https://api.github.com/users/datastax/received_events","type":"Organization","site_admin":false},"repo":{"id":14125991,"name":"cpp-driver","full_name":"datastax/cpp-driver","owner":{"login":"datastax","id":573369,"avatar_url":"https://avatars.githubusercontent.com/u/573369?v=3","gravatar_id":"","url":"https://api.github.com/users/datastax","html_url":"https://github.com/datastax","followers_url":"https://api.github.com/users/datastax/followers","following_url":"https://api.github.com/users/datastax/following{/other_user}","gists_url":"https://api.github.com/users/datastax/gists{/gist_id}","starred_url":"https://api.github.com/users/datastax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datastax/subscriptions","organizations_url":"https://api.github.com/users/datastax/orgs","repos_url":"https://api.github.com/users/datastax/repos","events_url":"https://api.github.com/users/datastax/events{/privacy}","received_events_url":"https://api.github.com/users/datastax/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/datastax/cpp-driver","description":"DataStax C/C++ Driver for Apache Cassandra http://datastax.github.io/cpp-driver/","fork":false,"url":"https://api.github.com/repos/datastax/cpp-driver","forks_url":"https://api.github.com/repos/datastax/cpp-driver/forks","keys_url":"https://api.github.com/repos/datastax/cpp-driver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/datastax/cpp-driver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/datastax/cpp-driver/teams","hooks_url":"https://api.github.com/repos/datastax/cpp-driver/hooks","issue_events_url":"https://api.github.com/repos/datastax/cpp-driver/issues/events{/number}","events_url":"https://api.github.com/repos/datastax/cpp-driver/events","assignees_url":"https://api.github.com/repos/datastax/cpp-driver/assignees{/user}","branches_url":"https://api.github.com/repos/datastax/cpp-driver/branches{/branch}","tags_url":"https://api.github.com/repos/datastax/cpp-driver/tags","blobs_url":"https://api.github.com/repos/datastax/cpp-driver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/datastax/cpp-driver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/datastax/cpp-driver/git/refs{/sha}","trees_url":"https://api.github.com/repos/datastax/cpp-driver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/datastax/cpp-driver/statuses/{sha}","languages_url":"https://api.github.com/repos/datastax/cpp-driver/languages","stargazers_url":"https://api.github.com/repos/datastax/cpp-driver/stargazers","contributors_url":"https://api.github.com/repos/datastax/cpp-driver/contributors","subscribers_url":"https://api.github.com/repos/datastax/cpp-driver/subscribers","subscription_url":"https://api.github.com/repos/datastax/cpp-driver/subscription","commits_url":"https://api.github.com/repos/datastax/cpp-driver/commits{/sha}","git_commits_url":"https://api.github.com/repos/datastax/cpp-driver/git/commits{/sha}","comments_url":"https://api.github.com/repos/datastax/cpp-driver/comments{/number}","issue_comment_url":"https://api.github.com/repos/datastax/cpp-driver/issues/comments{/number}","contents_url":"https://api.github.com/repos/datastax/cpp-driver/contents/{+path}","compare_url":"https://api.github.com/repos/datastax/cpp-driver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/datastax/cpp-driver/merges","archive_url":"https://api.github.com/repos/datastax/cpp-driver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/datastax/cpp-driver/downloads","issues_url":"https://api.github.com/repos/datastax/cpp-driver/issues{/number}","pulls_url":"https://api.github.com/repos/datastax/cpp-driver/pulls{/number}","milestones_url":"https://api.github.com/repos/datastax/cpp-driver/milestones{/number}","notifications_url":"https://api.github.com/repos/datastax/cpp-driver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/datastax/cpp-driver/labels{/name}","releases_url":"https://api.github.com/repos/datastax/cpp-driver/releases{/id}","created_at":"2013-11-04T22:47:57Z","updated_at":"2015-06-29T14:13:04Z","pushed_at":"2015-07-21T00:06:10Z","git_url":"git://github.com/datastax/cpp-driver.git","ssh_url":"git@github.com:datastax/cpp-driver.git","clone_url":"https://github.com/datastax/cpp-driver.git","svn_url":"https://github.com/datastax/cpp-driver","homepage":"","size":66399,"stargazers_count":121,"watchers_count":121,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":78,"mirror_url":null,"open_issues_count":9,"forks":78,"open_issues":9,"watchers":121,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/datastax/cpp-driver/pulls/188"},"html":{"href":"https://github.com/datastax/cpp-driver/pull/188"},"issue":{"href":"https://api.github.com/repos/datastax/cpp-driver/issues/188"},"comments":{"href":"https://api.github.com/repos/datastax/cpp-driver/issues/188/comments"},"review_comments":{"href":"https://api.github.com/repos/datastax/cpp-driver/pulls/188/comments"},"review_comment":{"href":"https://api.github.com/repos/datastax/cpp-driver/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/datastax/cpp-driver/pulls/188/commits"},"statuses":{"href":"https://api.github.com/repos/datastax/cpp-driver/statuses/05eb69f39a90240080a61db296a8a48212e8f5f8"}}}}