Skip to content

Commit

Permalink
Increase max size of a message to 1MB. Fixes #24
Browse files Browse the repository at this point in the history
  • Loading branch information
alrod committed Sep 27, 2019
1 parent b020c0d commit aa8b31f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ internal class EventHubAsyncCollector : IAsyncCollector<EventData>

private const int BatchSize = 100;

// Suggested to use 240k instead of 256k to leave padding room for headers.
private const int MaxByteSize = 240 * 1024;
// Suggested to use 1008k instead of 1024k to leave padding room for headers.
private const int MaxByteSize = 1008 * 1024;

/// <summary>
/// Create a sender around the given client.
Expand Down

0 comments on commit aa8b31f

Please sign in to comment.