Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-4409

Add missing MaxTimeMs to query options

    • Type: Icon: Improvement Improvement
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.18.0
    • Component/s: API
    • Labels:
      None

      MongoDB supports server side timeout (MaxTimeMs) for nearly all queries.

      However, the corresponding configuration property is missing on certain option classes:

      • BulkWriteOptions
      • DeleteOptions
      • InsertManyOptions
      • InsertOneOptions
      • ReplaceOptions
      • UpdateOptions

      There might be other properties be missing on those commands.

      Please add the MaxTimeMs (and probably other missing properties) to the options.

       

            Assignee:
            james.kovacs@mongodb.com James Kovacs
            Reporter:
            meggima.github@outlook.com Markus Eggimann
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: