Skip to content

Commit

Permalink
fix: WebSocketChannel<T>.Options.WriteDelay should be 0 by default
Browse files Browse the repository at this point in the history
  • Loading branch information
alexyakunin committed Dec 7, 2023
1 parent bbede51 commit ee7ccd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Stl.Rpc/WebSockets/WebSocketChannel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public record Options
public int ReadBufferSize { get; init; } = 16_000; // Rented ~just once, so it can be large
public int RetainedBufferSize { get; init; } = 64_000; // Any buffer is released when it hits this size
public int MaxItemSize { get; init; } = 130_000_000; // 130 MB;
public TimeSpan WriteDelay { get; init; } = TimeSpan.FromMilliseconds(1); // Next timer tick, actually
public TimeSpan WriteDelay { get; init; }
public TimeSpan CloseTimeout { get; init; } = TimeSpan.FromSeconds(10);
public DualSerializer<T> Serializer { get; init; } = new();
public BoundedChannelOptions ReadChannelOptions { get; init; } = new(128) {
Expand Down

0 comments on commit ee7ccd4

Please sign in to comment.