website/content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/APIServingWithRoute.md

23 lines
710 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

---
title: APIServingWithRoute
content_type: feature_gate
_build:
list: never
render: false
stages:
- stage: alpha
defaultValue: false
fromVersion: "1.30"
---
<!--
This feature gate enables an API server performance improvement:
the API server can use separate goroutines (lightweight threads managed by the Go runtime)
to serve [**watch**](/docs/reference/using-api/api-concepts/#efficient-detection-of-changes)
requests.
-->
这个特性门控可以启用一项 API 服务器性能提升API 服务器可以使用独立的 Goroutine
(由 Go 运行时管理的轻量级线程)来处理
[**watch**](/zh-cn/docs/reference/using-api/api-concepts/#efficient-detection-of-changes) 请求。