<?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_max_size">


    <info>
        <link type="guide" xref="mongoc_client_pool_t" group="function"/>
    </info>
    <title>mongoc_client_pool_max_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              max_pool_size);

]]></code></synopsis>
        <p>This function sets the maximum number of pooled connections available from a <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>max_pool_size</p></td><td><p>The maximum number of connections which shall be available from the pool.</p></td></tr>
        </table>
    </section>
</page>
