Skip to content

Commit

Permalink
Allow Netty default leak detection to be overidden
Browse files Browse the repository at this point in the history
  • Loading branch information
russellyou authored and snicoll committed Aug 23, 2022
1 parent 6d80b60 commit 51f2e40
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 44 deletions.
Expand Up @@ -32,7 +32,7 @@ public class NettyProperties {
/**
* Level of leak detection for reference-counted buffers.
*/
private LeakDetection leakDetection = LeakDetection.SIMPLE;
private LeakDetection leakDetection = null;

public LeakDetection getLeakDetection() {
return this.leakDetection;
Expand Down
Expand Up @@ -1738,7 +1738,8 @@
},
{
"name": "spring.netty.leak-detection",
"defaultValue": "simple"
"description": "When null, fall back to Netty system default 'simple' or value of -Dio.netty.leakDetection.level. When set, this will overrride value of -Dio.netty.leakDetection.level",
"defaultValue": "null"
},
{
"name": "spring.quartz.jdbc.comment-prefix",
Expand Down

This file was deleted.

0 comments on commit 51f2e40

Please sign in to comment.