Skip to content

Vasilii Godunov#277

Open
VassilSanych wants to merge 3 commits intocrexi-dev:masterfrom
VassilSanych:master
Open

Vasilii Godunov#277
VassilSanych wants to merge 3 commits intocrexi-dev:masterfrom
VassilSanych:master

Conversation

@VassilSanych
Copy link

The task is solved

Incorporated a logging mechanism using `ConcurrentQueue<RequestLogEntry>` in the `RateLimiter` and its associated rules. Updated `MockRateLimitingRule`, `TimespanSinceLastCallRule`, and `XRequestsPerTimespanRule` to accept a log parameter in their constructors for better request tracking. Modified the `BaseRule` class to initialize its `CommonLog` property with the provided log. Updated test cases in `RateLimiterTest.cs` to align with the new logging structure.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant