Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-1465

Document that wtimeout=0 waits indefinitely for GLE

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • Server_Docs_20231030
    • None
    • manual
    • None

    Description

      There are no references to wtimeout=0 in the documentation, although it is mentioned in the Java driver, which comes up in the docs search.

      A zero wtimeout value will cause the GLE request to wait indefinitely. A positive value is the number of milliseconds to wait. I'm unsure what the default wtimeout is (the PHP driver uses 10000ms), but we should also document that if there is a global default.

      I'm also unsure how negative values are interpreted (perhaps that also implies infinity?), but it would be reasonable to check with a server developer on that.

      Attachments

        Activity

          People

            zack.brown@10gen.com Zack Brown
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              6 years, 13 weeks, 6 days ago