Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix default value for maxCachedBufferCapacity in NettyByteBufLeakHelper #1381

Merged

Conversation

cgtz
Copy link
Contributor

@cgtz cgtz commented Feb 11, 2020

The cache is actually enabled by default if the property is not set.
Use a default value copied from the netty source.

This allows the tests to pass in the intellij test runner that does not
run junit with the system properties in build.gradle

The cache is actually enabled by default if the property is not set.
Use a default value copied from the netty source.
@codecov-io
Copy link

Codecov Report

❗ No coverage uploaded for pull request base (fix-bytebuf-cacheEnabled@3f35448). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@                     Coverage Diff                     @@
##             fix-bytebuf-cacheEnabled    #1381   +/-   ##
===========================================================
  Coverage                            ?   72.38%           
  Complexity                          ?     6871           
===========================================================
  Files                               ?      496           
  Lines                               ?    38854           
  Branches                            ?     4940           
===========================================================
  Hits                                ?    28125           
  Misses                              ?     9375           
  Partials                            ?     1354

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3f35448...1e2388b. Read the comment docs.

@jsjtzyy jsjtzyy merged commit d54c8b4 into linkedin:fix-bytebuf-cacheEnabled Feb 11, 2020
cgtz added a commit that referenced this pull request Feb 11, 2020
…er (#1381)

The cache is actually enabled by default if the property is not set.
Use a default value copied from the netty source.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants