Fix incorrect property name in PooledByteBufAllocator
Motivation: We hat a typo in the property name that is used in PooledByteBufAllocator. Modifications: Change from "...allocation.." to "...allocator.." Result: More consistent property naming
This commit is contained in:
parent
f760b6af84
commit
0d4af6d9da
@ -120,7 +120,7 @@ public class PooledByteBufAllocator extends AbstractByteBufAllocator implements
|
|||||||
"io.netty.allocator.cacheTrimInterval", 8192);
|
"io.netty.allocator.cacheTrimInterval", 8192);
|
||||||
|
|
||||||
DEFAULT_CACHE_TRIM_INTERVAL_MILLIS = SystemPropertyUtil.getLong(
|
DEFAULT_CACHE_TRIM_INTERVAL_MILLIS = SystemPropertyUtil.getLong(
|
||||||
"io.netty.allocation.cacheTrimIntervalMillis", 0);
|
"io.netty.allocator.cacheTrimIntervalMillis", 0);
|
||||||
|
|
||||||
DEFAULT_USE_CACHE_FOR_ALL_THREADS = SystemPropertyUtil.getBoolean(
|
DEFAULT_USE_CACHE_FOR_ALL_THREADS = SystemPropertyUtil.getBoolean(
|
||||||
"io.netty.allocator.useCacheForAllThreads", false);
|
"io.netty.allocator.useCacheForAllThreads", false);
|
||||||
|
Loading…
Reference in New Issue
Block a user