LocalThreshold no longer accepts infinite timespan

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor - P4
    • 2.13.2
    • Affects Version/s: 2.11.5
    • Component/s: Configuration
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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 (Inactive)
              Reporter:
              Aristarkh Zagorodnikov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: