File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,13 @@ type ClusterConfig struct {
102102 // Initial keyspace. Optional.
103103 Keyspace string
104104
105- // Number of connections per host.
105+ // The size of the connection pool for each host.
106+ // The pool filling runs in separate gourutine during the session initialization phase.
107+ // gocql will always try to get 1 connection on each host pool
108+ // during session initialization AND it will attempt
109+ // to fill each pool afterward asynchronously if NumConns > 1.
110+ // Notice: There is no guarantee that pool filling will be finished in the initialization phase.
111+ // Also, it describes a maximum number of connections at the same time.
106112 // Default: 2
107113 NumConns int
108114
You can’t perform that action at this time.
0 commit comments