Skip to content

Commit bd1ea3f

Browse files
codez0mb1eCopilot
andauthored
Decrease buffering interval
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent d6fc89f commit bd1ea3f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/BinanceBot.Market/MarketDepthManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ public async Task BuildAsync(MarketDepth marketDepth, short orderBookDepth = 10,
112112

113113
// Step 2: Wait a bit to buffer some events
114114
// Use longer buffer time to ensure we have enough events before snapshot
115-
var bufferTimeMs = Math.Max(updateIntervalMs * 5, 1000);
115+
var bufferTimeMs = Math.Max(updateIntervalMs * 5, 500);
116116
_logger.Debug($"2: Buffering events for {bufferTimeMs}ms");
117117
await Task.Delay(bufferTimeMs, ct).ConfigureAwait(false);
118118

0 commit comments

Comments
 (0)