You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
---> System.ArgumentOutOfRangeException: Time-out interval must be less than 2^32-2. (Parameter 'dueTime')
at System.Threading.Timer..ctor(TimerCallback callback, Object state, TimeSpan dueTime, TimeSpan period)
at RiotSharp.Caching.Cache.StartObserving[TK](TK key, TimeSpan timeSpan)
at RiotSharp.Caching.Cache.Add[TK,TV](TK key, TV value, TimeSpan timeSpan, Boolean isSliding)
at RiotSharp.Caching.Cache.Add[TK,TV](TK key, TV value, TimeSpan slidingExpiry)
at RiotSharp.Endpoints.MatchEndpoint.MatchEndpoint.GetMatchTimelineAsync(Region region, Int64 matchId)
The text was updated successfully, but these errors were encountered:
I couldn't reproduce the bug, but after some static analysis I caught on next cases:
An Exception is thrown by Ststem.Threading.Timer constructor and it says that parameter named 'dueTIme' is greater than 2^32 (I.E. integer upper limit).
The Actual value passed to this Constructor is MatchEndpoint,MatchTtl which is defined as:
The text was updated successfully, but these errors were encountered: