Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-1169

Change maxStalenessMS default to -1 (No max)

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • None
    • 3.4
    • None
    • None

    Description

      The maxStalenessMS spec originally specified 0 for "no max", but that value is confusing. Users will expect 0 to mean "no lag". The spec has been updated to use -1 instead (0 is now illegal). PyMongo currently uses None in code and doesn't support explicitly setting "no max" in the URI.

      Attachments

        Issue Links

          Activity

            People

              jesse@mongodb.com A. Jesse Jiryu Davis
              bernie@mongodb.com Bernie Hackett
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: