From 06c522560da417683c256df3097de67f08467d27 Mon Sep 17 00:00:00 2001 From: Victor Lee Date: Fri, 8 Apr 2022 13:17:00 -0700 Subject: [PATCH] fix setting ConnectInterval on Bitflyer --- .../API/Exchanges/Bitflyer/ExchangeBitflyerApi.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ExchangeSharp/API/Exchanges/Bitflyer/ExchangeBitflyerApi.cs b/src/ExchangeSharp/API/Exchanges/Bitflyer/ExchangeBitflyerApi.cs index 22990665..6260ec1d 100644 --- a/src/ExchangeSharp/API/Exchanges/Bitflyer/ExchangeBitflyerApi.cs +++ b/src/ExchangeSharp/API/Exchanges/Bitflyer/ExchangeBitflyerApi.cs @@ -150,7 +150,8 @@ public SocketIOWrapper(string url) } public TimeSpan ConnectInterval - { get => socketIO.Options.ConnectionTimeout; set => socketIO.Options.ConnectionTimeout = value; } + { get => throw new NotSupportedException(); + set => socketIO.Options.Reconnection = value > TimeSpan.Zero; } public TimeSpan KeepAlive { get => throw new NotSupportedException(); set => throw new NotSupportedException(); }