Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Disable lease warning for RabbitMQ transport #4

Closed
cafedo opened this issue Feb 21, 2022 · 2 comments
Closed

Disable lease warning for RabbitMQ transport #4

cafedo opened this issue Feb 21, 2022 · 2 comments

Comments

@cafedo
Copy link

cafedo commented Feb 21, 2022

Hi all,
I think that the warning log entry, written when the delay takes more then 5 seconds, is not relevant when you are using RabbitMQ on-premise as a transport; I mean, in this case you don't have to deal with lease time or distributed transaction.
What about disable this log entry for RabbitMQ or other specific transport?

@ramonsmits
Copy link
Owner

@cafedo True, RabbitMQ isn't affected in such a way. How about an API like:

var rateLimiting = endpointConfiguration.ApplyRateLimiting(10);
rateLimiting.WarningThresshold = TimeSpan.FromSeconds(60);

@ramonsmits
Copy link
Owner

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants