From 4145d12346f9382114893b06e1bd75cfc569e54a Mon Sep 17 00:00:00 2001 From: Severin Leonhardt Date: Tue, 20 Oct 2015 08:55:54 +0200 Subject: [PATCH] Fix documentation of default values Some documented values in cassandra.h didn't match the actual values in config.hpp. The pending requests high water mark referred to max_connections_per_host suggesting it is calculated from that value. This is not the case, it will always be 128 * 2. --- include/cassandra.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/cassandra.h b/include/cassandra.h index 3504e4be3..f071d155e 100644 --- a/include/cassandra.h +++ b/include/cassandra.h @@ -786,7 +786,7 @@ cass_cluster_set_num_threads_io(CassCluster* cluster, * Sets the size of the fixed size queue that stores * pending requests. * - * Default: 4096 + * Default: 8192 * * @public @memberof CassCluster * @@ -802,7 +802,7 @@ cass_cluster_set_queue_size_io(CassCluster* cluster, * Sets the size of the fixed size queue that stores * events. * - * Default: 4096 + * Default: 8192 * * @public @memberof CassCluster * @@ -818,7 +818,7 @@ cass_cluster_set_queue_size_event(CassCluster* cluster, * Sets the size of the fixed size queue that stores * log messages. * - * Default: 4096 + * Default: 8192 * * @public @memberof CassCluster * @@ -966,7 +966,7 @@ cass_cluster_set_write_bytes_low_water_mark(CassCluster* cluster, * host on an IO worker if the number of requests queued exceed this * value. * - * Default: 128 * max_connections_per_host + * Default: 256 * * @public @memberof CassCluster * @@ -984,7 +984,7 @@ cass_cluster_set_pending_requests_high_water_mark(CassCluster* cluster, * requests, writes to a host will only resume once the number of requests * fall below this value. * - * Default: 64 * max_connections_per_host + * Default: 128 * * @public @memberof CassCluster *