Skip to content

Commit

Permalink
Merge pull request #1529 from Particular/increase-delivery-attempts-t…
Browse files Browse the repository at this point in the history
…o-1000

Increase delivery attempts from 100 to 1000
  • Loading branch information
jpalac authored Dec 20, 2024
2 parents 422d2d5 + 2106d8b commit ca9acf5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/NServiceBus.Transport.RabbitMQ/Receiving/MessagePump.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ sealed class MessagePump : IMessageReceiver, IDisposable
readonly Action<string, Exception, CancellationToken> criticalErrorAction;
readonly TimeSpan retryDelay;
readonly string name;
readonly FastConcurrentLru<string, int> deliveryAttempts = new(100);
readonly FastConcurrentLru<string, bool> failedBasicAckMessages = new(100);
readonly FastConcurrentLru<string, int> deliveryAttempts = new(1_000);
readonly FastConcurrentLru<string, bool> failedBasicAckMessages = new(1_000);

bool disposed;
OnMessage onMessage;
Expand Down Expand Up @@ -531,4 +531,4 @@ public void Dispose()
disposed = true;
}
}
}
}

0 comments on commit ca9acf5

Please sign in to comment.