This is an automated email from the ASF dual-hosted git repository.
hefengen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shenyu.git
The following commit(s) were added to refs/heads/master by this push:
new 92097e2def [fix:netty] To avoid memory leaks, set the netty allocator
to unpooled (#5244)
92097e2def is described below
commit 92097e2def94c2946160f9f94b709ea10a91501c
Author: lahmxu <[email protected]>
AuthorDate: Mon Oct 23 23:30:09 2023 +0800
[fix:netty] To avoid memory leaks, set the netty allocator to unpooled
(#5244)
Co-authored-by: xiaoyu <[email protected]>
---
shenyu-bootstrap/src/main/resources/application.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/shenyu-bootstrap/src/main/resources/application.yml
b/shenyu-bootstrap/src/main/resources/application.yml
index 51926cc270..d5cb50f9ac 100644
--- a/shenyu-bootstrap/src/main/resources/application.yml
+++ b/shenyu-bootstrap/src/main/resources/application.yml
@@ -118,7 +118,7 @@ shenyu:
writeBufferLowWaterMark: 32768
writeSpinCount: 16
autoRead: false
- allocType: "pooled"
+ allocType: "unpooled"
messageSizeEstimator: 8
singleEventExecutorPerGroup: true
socketChannel:
@@ -135,7 +135,7 @@ shenyu:
writeBufferLowWaterMark: 32768
writeSpinCount: 16
autoRead: false
- allocType: "pooled"
+ allocType: "unpooled"
messageSizeEstimator: 8
singleEventExecutorPerGroup: true
sni: