Defer to safest maxTimeMs

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 1.49.9
    • Affects Version/s: None
    • Component/s: None
    • Environment:
      OS:
      node.js / npm versions:
      Additional info:
    • 1
    • Not Needed
    • None
    • Developer Tools

      We default to the lowest maxTimeMs without paying attention to the fact that a 0 maxTimeMs means the operation can run forever. Treat 0 as a special case and always use non-zero values if possible

      https://github.com/mongodb-js/compass/blob/033fb0fe60bdb7c8cecc00084a11d38a5b6bcc10/packages/compass-preferences-model/src/maxtimems.ts#L7

            Assignee:
            Ivan Medina
            Reporter:
            Jack Weir
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: