Sentinel icon indicating copy to clipboard operation
Sentinel copied to clipboard

RuleConstant常量命名讨论

Open pengminxuan opened this issue 8 years ago • 1 comments

Issue Description

Type: discussion

Describe what happened (or what feature you want)

com.alibaba.csp.sentinel.slots.block.RuleConstant中的常量:

  1. CONTROL_BEHAVIOR_RATE_LIMITER,实际指代的中文含义是排队等待, 可是这里为什么要用限速器来表示, 是有什么深层含义吗?
  2. CONTROL_BEHAVIOR_DEFAULT代表的是快速失败,是否可以直接使用快速失败的英文来命名,或者添加相应的英文注释?

Describe what you expected to happen

How to reproduce it (as minimally and precisely as possible)

Tell us your environment

Anything else we need to know?

pengminxuan avatar Aug 30 '18 02:08 pengminxuan

Hi, we'll unify and standardize the naming. Thanks for your suggestion!

sczyh30 avatar Oct 18 '18 07:10 sczyh30