Skip to content

feat: rate limiting - #1290

Merged
csviri merged 26 commits into
nextfrom
rate-limiting
Jul 4, 2022
Merged

csviri merged 26 commits into
nextfrom
rate-limiting

Conversation

@csviri

@csviri csviri commented Jun 16, 2022

Copy link
Copy Markdown
Collaborator

No description provided.

@csviri
csviri changed the base branch from main to next June 16, 2022 12:30
@csviri csviri self-assigned this Jun 16, 2022
@csviri
csviri marked this pull request as ready for review June 17, 2022 14:42
@csviri
csviri requested a review from metacosm June 17, 2022 14:42
@csviri
csviri force-pushed the next branch 2 times, most recently from b8b6b02 to 93c2b1b Compare June 17, 2022 15:09
@csviri csviri changed the title Rate limiting feat: rate limiting Jun 22, 2022
interval = 10);


RateLimit rateLimit() default @RateLimit;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will need to be fixed as this doesn't make any sense if users can provide their own RateLimiter implementations…

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The idea is that some can configure basic rate limit, what is usuabble in most of the cases. If the default implementation does not fit, configuration overrride still can be used.

Note that this is empty by default, so there is no default rate limiter.

@metacosm metacosm left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comments

@sonarqubecloud

sonarqubecloud Bot commented Jul 4, 2022

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 62 Code Smells

67.5% 67.5% Coverage
0.3% 0.3% Duplication

@csviri
csviri merged commit 36f1020 into next Jul 4, 2022
@csviri
csviri deleted the rate-limiting branch July 4, 2022 15:12
csviri added a commit that referenced this pull request Jul 13, 2022
csviri added a commit that referenced this pull request Jul 13, 2022
csviri added a commit that referenced this pull request Jul 13, 2022
csviri added a commit that referenced this pull request Jul 14, 2022
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.

Avoid looping with two mutually exclusive desired state Implement Rate Limiting of Reconciliation

2 participants