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

LocalThreshold no longer accepts infinite timespan

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.13.2
    • Affects Version/s: 2.11.5
    • Component/s: Configuration
    • Labels:
      None

      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?

       

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

              Created:
              Updated:
              Resolved: