1
0
mirror of https://github.com/JKorf/CryptoExchange.Net.git synced 2026-08-20 12:53:02 +00:00

Fix for concurrent sent issue

This commit is contained in:
Jkorf
2021-08-20 16:27:23 +02:00
parent e142386bef
commit 474bb13204
3 changed files with 28 additions and 19 deletions
@@ -463,6 +463,9 @@ namespace CryptoExchange.Net.OrderBook
if(!checksumResult)
{
// Reconnects the socket, also closing other subscriptions on that socket.
// Should maybe only reconnect the specific subscription?
log.Write(LogLevel.Warning, $"{Id} order book {Symbol} out of sync. Resyncing");
_ = subscription?.ReconnectAsync();
return;