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

LocalThreshold no longer accepts infinite timespan

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor - P4 Minor - P4
    • 2.13.2
    • 2.11.5
    • Configuration
    • None

    Description

      Hi!

      Since CSHARP-2288 was implemented, MongoClientSettings.LocalThreshold no longer accepts Timeout.InfiniteTimeSpan, yet the underlying LatencyLimitingServerSelector still supports it in passthrough mode.

      I wonder if this change and this test were implemented intentionally, breaking code that worked in 2.10.4. Maybe the parameter validation could be relaxed a bit to pre-change limits?

       

      Attachments

        Activity

          People

            dmitry.lukyanov@mongodb.com Dmitry Lukyanov (Inactive)
            onyxmaster Aristarkh Zagorodnikov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: