mirror of
https://github.com/JKorf/CryptoExchange.Net
synced 2025-06-07 16:06:15 +00:00
Fixed reconnect url logging even when url hasn't changed
This commit is contained in:
parent
24ba60da47
commit
7b49562c1d
@ -270,7 +270,7 @@ namespace CryptoExchange.Net.Sockets
|
||||
if (task != null)
|
||||
{
|
||||
var reconnectUri = await task.ConfigureAwait(false);
|
||||
if (reconnectUri != null && Parameters.Uri != reconnectUri)
|
||||
if (reconnectUri != null && Parameters.Uri.ToString() != reconnectUri.ToString())
|
||||
{
|
||||
_logger.SocketSetReconnectUri(Id, reconnectUri);
|
||||
Parameters.Uri = reconnectUri;
|
||||
|
Loading…
x
Reference in New Issue
Block a user