1
0
mirror of https://github.com/JKorf/CryptoExchange.Net.git synced 2026-08-15 10:22:57 +00:00

removed event triggering timeout

This commit is contained in:
msg_kurt
2019-09-04 17:23:30 +03:00
parent 43c17bae64
commit 6a3df9f7e7
3 changed files with 16 additions and 23 deletions
+3 -9
View File
@@ -27,11 +27,7 @@ namespace CryptoExchange.Net.Objects
/// Base for order book options
/// </summary>
public class OrderBookOptions : BaseOptions
{
/// <summary>
/// Update event raising timeout in milliseconds (to limit it at high-liquidity order books)
/// </summary>
public int UpdateEventTimeout { get; }
{
/// <summary>
/// The name of the order book implementation
/// </summary>
@@ -46,10 +42,8 @@ namespace CryptoExchange.Net.Objects
/// </summary>
/// <param name="name">The name of the order book implementation</param>
/// <param name="sequencesAreConsecutive">Whether each update should have a consecutive id number. Used to identify and reconnect when numbers are skipped.</param>
/// <param name="updateInterval">Update event raising timeout in milliseconds (to limit it at high-liquidity order books)</param>
public OrderBookOptions(string name, bool sequencesAreConsecutive, int? updateInterval)
{
UpdateEventTimeout = updateInterval ?? 1000;
public OrderBookOptions(string name, bool sequencesAreConsecutive)
{
OrderBookName = name;
SequenceNumbersAreConsecutive = sequencesAreConsecutive;
}