Function cassandra_cpp_sys::cass_cluster_set_max_concurrent_requests_threshold [] [src]

pub unsafe extern "C" fn cass_cluster_set_max_concurrent_requests_threshold(
    cluster: *mut CassCluster,
    num_requests: c_uint
) -> CassError

Sets the threshold for the maximum number of concurrent requests in-flight on a connection before creating a new connection. The number of new connections created will not exceed max_connections_per_host.

Default: 100

@public @memberof CassCluster

@param[in] cluster @param[in] num_requests @return CASS_OK if successful, otherwise an error occurred.