Skip to content

Commit 686e9d7

Browse files
authored
fix setting ConnectInterval on Bitflyer (#763)
1 parent a87fb8b commit 686e9d7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ExchangeSharp/API/Exchanges/Bitflyer/ExchangeBitflyerApi.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,8 @@ public SocketIOWrapper(string url)
150150
}
151151

152152
public TimeSpan ConnectInterval
153-
{ get => socketIO.Options.ConnectionTimeout; set => socketIO.Options.ConnectionTimeout = value; }
153+
{ get => throw new NotSupportedException();
154+
set => socketIO.Options.Reconnection = value > TimeSpan.Zero; }
154155

155156
public TimeSpan KeepAlive
156157
{ get => throw new NotSupportedException(); set => throw new NotSupportedException(); }

0 commit comments

Comments
 (0)