sportradar / UnifiedOddsSdkNetCore

UnifiedFeed SDK is a client library that enables easier integration with the Betradar XML feeds. SDK exposes XML feed service interface in a more user-friendly way and isolates the client from having to do XML feed parsing, proper connection handling, error recovery, event queuing, data caching and dispatching.
https://sportradar.github.io/UnifiedOddsSdkNetCore/
Other
17 stars 14 forks source link

FIX: update last recovery message timestamp #31

Open ridvandev opened 11 months ago

ridvandev commented 11 months ago

We experienced recovery operation failures due to the _lastRecoveryMessage variable defined in ProducerRecoveryManager.cs. Our investigations showed that the variable is set when the recovery operation starts and the ProducerRecoveryManager is created. It is wrong due to the condition that uses this variable.

FIX: This change causes every feed message related to the recovery operation to update the variable to the value DateTime.Now as in the constructor and the recover start.