Skip to content

Commit

Permalink
Enabled websocket rate limit
Browse files Browse the repository at this point in the history
  • Loading branch information
JKorf committed Aug 25, 2023
1 parent 084a055 commit 4bd9f58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Binance.Net/Objects/Options/BinanceSocketOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class BinanceSocketOptions : SocketExchangeOptions<BinanceEnvironment>
{
new RateLimiter()
.AddConnectionRateLimit("stream.binance.com", 5, TimeSpan.FromSeconds(1))
//.AddConnectionRateLimit("ws-api.binance.com", 1200, TimeSpan.FromSeconds(60))
.AddConnectionRateLimit("ws-api.binance.com", 1200, TimeSpan.FromSeconds(60))
}
};

Expand Down

0 comments on commit 4bd9f58

Please sign in to comment.