Function cassandra_cpp_sys::cass_cluster_set_max_concurrent_creation [] [src]

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

Sets the maximum number of connections that will be created concurrently. Connections are created when the current connections are unable to keep up with request throughput.

Default: 1

@public @memberof CassCluster

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