Particular / ServiceInsight

Advanced debugging for NServiceBus
http://particular.net/serviceinsight
Other
16 stars 32 forks source link

Delay for 2.5s when there is an error response to prevent a DoS on the API in case of errors. #1384

Closed ramonsmits closed 1 year ago

ramonsmits commented 1 year ago

When the ServiceControl API is returning a error response currently SI will immediately do another request. When the service is in a faulty state this results in a massive amount of requests, CPU, RAM, and network IO.

This fix adds a delay in case of an error so that SI will not immediately execute another request and basically executing a DoS on the infrastructure.

github-actions[bot] commented 1 year ago

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.