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

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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 1.2-rc0
    • 1.2-beta0
    • libmongoc
    • None
    • All

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: