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

Clarify that socketTimeoutMS affects only reads

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 4.7.0
    • Affects Version/s: None
    • Component/s: URI Options
    • None
    • Fully Compatible
    • Not Needed

      socketTimeoutMS is documented incorrectly in ConnectionString. In actuality, this option is the same as SocketSettings.getReadTimeout. There is no way to directly control the write timeout in the Java SE (see JAVA-4148 for more details), which is why in the driver socketTimeoutMS does not affect writes.

            Assignee:
            valentin.kovalenko@mongodb.com Valentin Kavalenka
            Reporter:
            valentin.kovalenko@mongodb.com Valentin Kavalenka
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: