Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Improve Zero Warmup Rate Limiter to Catch Int Literals #1960

Merged
merged 3 commits into from
Nov 5, 2021

Conversation

kevin-yu-0602
Copy link
Contributor

Before this PR

Follow up to #1958 to allow the rule to catch int literals passing in 0 as the warmup time.

After this PR

==COMMIT_MSG==
==COMMIT_MSG==

Possible downsides?

@changelog-app
Copy link

changelog-app bot commented Nov 4, 2021

Generate changelog in changelog/@unreleased

Type

  • Feature
  • Improvement
  • Fix
  • Break
  • Deprecation
  • Manual task
  • Migration

Description

Improve Zero Warmup Rate Limiter to Catch Int Literals

Check the box to generate changelog(s)

  • Generate changelog entry

@policy-bot policy-bot bot requested a review from tpetracca November 4, 2021 23:40
Copy link
Contributor

@carterkozak carterkozak left a comment

Choose a reason for hiding this comment

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

Thanks!

@bulldozer-bot bulldozer-bot bot merged commit 954cf1f into develop Nov 5, 2021
@bulldozer-bot bulldozer-bot bot deleted the keviny/improve_zero_warmup_rate_limiter branch November 5, 2021 02:58
@svc-autorelease
Copy link
Collaborator

Released 4.38.0

This was referenced Nov 5, 2021
bulldozer-bot bot pushed a commit to palantir/witchcraft-api that referenced this pull request Nov 9, 2021
###### _excavator_ is a bot for automating changes across repositories.

Changes produced by the roomba/latest-baseline-oss check.

# Release Notes
## 4.38.0
| Type | Description | Link |
| ---- | ----------- | ---- |
| Improvement | Improve Zero Warmup Rate Limiter to Catch Int Literals | palantir/gradle-baseline#1960 |


## 4.39.0
| Type | Description | Link |
| ---- | ----------- | ---- |
| Fix | The `com.palantir.baseline-java-versions` plugin requires gradle 7 and fails eagerly on older versions. Previously it would cause non-obvious failures later depending on task execution. | palantir/gradle-baseline#1965 |
| Feature | Add Error Prone check to prefer `hasNoArgs` on service exception asserts and loggable exception asserts. | palantir/gradle-baseline#1966 |


## 4.40.0
| Type | Description | Link |
| ---- | ----------- | ---- |
| Improvement | Automatically fix AssertNoArgs | palantir/gradle-baseline#1967 |



To enable or disable this check, please contact the maintainers of Excavator.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants