Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-809

Default pool size parameters are "inconvenient" to say the least

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.2-rc0
    • Affects Version/s: 1.2-beta0
    • Component/s: libmongoc
    • Labels:
      None
    • Environment:
      All

      When creating connection pools using mongoc_client_pool_new() the default values for _mongoc_client_pool_t.min_pool_size is inconvenient.

      By default, its value is zero and it appears the only way to configure its value is by passing it on the uri.

      I think it will be way more convenient to let the developer of a specific component using mongodb to decide the pool and other pool object settings programatically rather than rely on they being passed on the uri.

            Assignee:
            bjori Hannes Magnusson
            Reporter:
            jsbattig@convey.com Jose Battig
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: