Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-710

Support max connection idle time and max connection life time

      We are using the 2.10.1 version of the java driver and idle connections are not getting timed out. Please provide support of maxIdleTimeMS property in the java driver or let us know if there a reason this is not implemented.

      http://docs.mongodb.org/manual/reference/connection-string/#maxIdleTimeMS

      Implementation:

      In MongoClientOptions, the property names are maxConnectionIdleTIme and maxConnectionLifeTime. In MongoClientURI, the query parameter names are maxIdleTimeMS and maxLifeTimeMS.

            Assignee:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Reporter:
            sraj Syam Raj
            Votes:
            6 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: