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

circuitbreaker Panel 接口添加 State 方法 #187

Open
snakorse opened this issue Aug 10, 2023 · 0 comments
Open

circuitbreaker Panel 接口添加 State 方法 #187

snakorse opened this issue Aug 10, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@snakorse
Copy link

snakorse commented Aug 10, 2023

Summary

https://github.com/bytedance/gopkg/blob/614d0af6619bf612a797e07e6a1ac1533f529491/cloud/circuitbreaker/interface.go#L20C8-L20C8

circuitbreaker.Panel 接口可以添加一个 State(key string) State 的方法吗

Motivation

在某些场景下,我希望获取某个key关联的breaker的状态,来做不同的动作,比如进行重新进行调度

Explanation

No response

@snakorse snakorse added the enhancement New feature or request label Aug 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant