Skip to content

Commit

Permalink
Improved messages with guidance and fixed incorrect reference to Warn…
Browse files Browse the repository at this point in the history
…ingThresshold which was renamed to StartDurationThreshold
  • Loading branch information
ramonsmits committed Jul 16, 2023
1 parent 2ed1e11 commit 361eb5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NServiceBus.RateLimiter/Pipeline/RateLimitBehavior.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public async Task Invoke(ITransportReceiveContext context, Func<ITransportReceiv
if (duration > StartDurationThreshold)
{
Log.InfoFormat(
"Message '{0}' delayed due to throttling by {1:g} which is more than the configured `WarningThresshold` value {2:g}. This can conflict with message lease times or transaction timeouts. Consider lowering the burst size or to shorten the rate limiting duration. ",
"Message '{0}' processing delayed due to throttling by {1:g} which exceeds the configured `" + nameof(RateLimiterConfiguration.StartDurationThreshold) + "` value {2:g}. This can cause issues with message lease times or transaction timeouts. Consider lowering the burst size, shorten the rate limiting duration, reducing the allowed concurrenty, or transport prefetching",
context.Message.MessageId,
duration,
StartDurationThreshold
Expand Down

0 comments on commit 361eb5a

Please # to comment.