fix: adjust WebSocket buffer sizes in terminal and host API#11094
fix: adjust WebSocket buffer sizes in terminal and host API#11094wanghe-fit2cloud merged 1 commit into1Panel-dev:dev-v2from
Conversation
|
Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
What this PR does / why we need it?
websocket 给 write 初始化分配10M buffer 太奢侈了,用不上还吃内存
Summary of your change
降低 writebuffersize到一个相对保守的值, 把 readzise 换成默认值 4096,终端功能可以依然正常行使功能
Please indicate you've done the following: