Skip to content

chore:添加枚举值配置项 --story=125661369#8592

Open
elizabevil wants to merge 1 commit into
TencentBlueKing:v3.14.xfrom
elizabevil:v3.14.x-enumLimit
Open

chore:添加枚举值配置项 --story=125661369#8592
elizabevil wants to merge 1 commit into
TencentBlueKing:v3.14.xfrom
elizabevil:v3.14.x-enumLimit

Conversation

@elizabevil

Copy link
Copy Markdown
Contributor
  • 新加的功能:

  • 添加枚举值配置
  • 配置项位于extra.yaml
  • 枚举默认限制为200,最大为1000(固定)

@wcy00000000000000

Copy link
Copy Markdown
Collaborator

按性能测试数据来看枚举值在1000的时候性能已经不可以接受了,需要重新评估最大值限制

Comment thread src/common/backbone/configcenter/viper.go Outdated
Comment thread src/common/definitions.go Outdated
Comment thread src/scene_server/admin_server/app/server.go Outdated
Comment thread src/common/backbone/configcenter/viper.go Outdated
@elizabevil elizabevil closed this Apr 10, 2026
@elizabevil elizabevil reopened this Apr 10, 2026
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.

2 participants