<?xml version="1.0"?>

<page xmlns="http://projectmallard.org/1.0/"
      type="topic"
      style="function"
      xmlns:api="http://projectmallard.org/experimental/api/"
      xmlns:ui="http://projectmallard.org/experimental/ui/"
      id="mongoc_client_pool_min_size">


    <info>
        <link type="guide" xref="mongoc_client_pool_t" group="function"/>
    </info>
    <title>mongoc_client_pool_min_size()</title>

    <section id="synopsis">
        <title>Synopsis</title>
        <synopsis><code mime="text/x-csrc"><![CDATA[void
mongoc_client_pool_min_size(mongoc_client_pool_t *pool,
                            uint32_t              min_pool_size);

]]></code></synopsis>
        <p>This function sets the minimum number of pooled connections kept in <code xref="mongoc_client_pool_t">mongoc_client_pool_t</code>.</p>
    </section>

    <section id="parameters">
        <title>Parameters</title>
        <table>
            <tr><td><p>pool</p></td><td><p>A <code xref="mongoc_client_pool_t">mongoc_client_pool_t</code>.</p></td></tr>
            <tr><td><p>min_pool_size</p></td><td><p>The minimum number of connections which shall be kept in the pool.</p></td></tr>
        </table>
    </section>
</page>
