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

feat(limiter): implement the limiter config #4

Merged
merged 10 commits into from
Aug 25, 2023
Merged

feat(limiter): implement the limiter config #4

merged 10 commits into from
Aug 25, 2023

Conversation

whalecold
Copy link
Member

@whalecold whalecold commented Aug 14, 2023

What type of PR is this?

Check the PR title.

  • This PR title match the format: <type>(optional scope): <description>
  • The description of this PR title is user-oriented and clear enough for others to understand.
  • Attach the PR updating the user documentation if the current PR requires user awareness at the usage level. User docs repo

(Optional) Translate the PR title into Chinese.

(Optional) More detailed description for this PR(en: English/zh: Chinese).

en:
zh(optional):

(Optional) Which issue(s) this PR fixes:

cloudwego/kitex#975

(optional) The PR that updates user documentation:

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

license-eye has totally checked 34 files.

Valid Invalid Ignored Fixed
14 1 19 0
Click to see the invalid file list
  • server/limiter.go

server/limiter.go Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
example/server/main.go Outdated Show resolved Hide resolved
server/limiter.go Outdated Show resolved Hide resolved
server/limiter.go Outdated Show resolved Hide resolved
server/limiter.go Outdated Show resolved Hide resolved
server/suit.go Outdated
)

const (
limiterConfigName = "limiter_config"
Copy link
Contributor

@felix021 felix021 Aug 14, 2023

Choose a reason for hiding this comment

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

The config names can be simplified (like limit, retry, ...), no need to be the same as Bytedance internal (I was expecting this project to use configmanager when writing the proposal).

@bytedance-oss-robot
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: felix021, whalecold

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@felix021 felix021 merged commit eb00697 into main Aug 25, 2023
15 of 16 checks passed
@felix021 felix021 deleted the feat/limiter branch September 18, 2023 13:30
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.

None yet

3 participants