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

Support max connection idle time and max connection life time

    Details

    • # Replies:
      9
    • Last comment by Customer:
      false

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                6 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since reply:
                  3 years, 34 weeks, 4 days ago
                  Date of 1st Reply: