MongoClientOptions.minConnectionsPerHost() does not work

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: 3.0.4
    • Component/s: API
    • None
    • Environment:
      windows 10,JDK 8
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      I use the class 'MongoClientOptions.Builder' to set some properties when construct a "MongoClient" object. Settings as follows:
      connectionsPerHost(10)
      minConnectionsPerHost(3)
      maxConnectionIdleTime(30000)
      when lots of request come the pooled connections come up to 10 and it show the api is right;but 30 seconds later the connections all colsed,nothing left!!!

        1. 3.png
          3.png
          95 kB
        2. 4.png
          4.png
          14 kB

              Assignee:
              Unassigned
              Reporter:
              bichangshuo
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: