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

Network/NLogViewer/Chainsaw Target - Enabled OptimizeBufferReuse by default, but not for sub classes #2560

Merged

Conversation

snakefoot
Copy link
Contributor

No description provided.

@snakefoot snakefoot force-pushed the NetworkTargetOptimizeBufferReuse branch from 20425d2 to 0371bb4 Compare February 2, 2018 19:56
@codecov
Copy link

codecov bot commented Feb 2, 2018

Codecov Report

Merging #2560 into master will decrease coverage by <1%.
The diff coverage is 66%.

@@           Coverage Diff           @@
##           master   #2560    +/-   ##
=======================================
- Coverage      82%     81%   -<1%     
=======================================
  Files         323     323            
  Lines       23430   23456    +26     
  Branches     2936    2940     +4     
=======================================
- Hits        19097   19087    -10     
- Misses       3554    3575    +21     
- Partials      779     794    +15

@@ -67,6 +67,7 @@ public class ChainsawTarget : NLogViewerTarget
public ChainsawTarget()
{
IncludeNLogData = false;
OptimizeBufferReuse = GetType() == typeof(ChainsawTarget);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not just true? Because of custom sub classes?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes minimum amount of surprises possible.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add this as code comments, thanks in advance!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added comment

@304NotModified 304NotModified added this to the 4.5 rc5 milestone Feb 2, 2018
@304NotModified 304NotModified changed the title NetworkTarget - Enabled OptimizeBufferReuse by default Network/NLogViewer/Chaimsaw Target - Enabled OptimizeBufferReuse by default, but not for sub classes Feb 2, 2018
@snakefoot snakefoot changed the title Network/NLogViewer/Chaimsaw Target - Enabled OptimizeBufferReuse by default, but not for sub classes Network/NLogViewer/Chainsaw Target - Enabled OptimizeBufferReuse by default, but not for sub classes Feb 2, 2018
@snakefoot snakefoot force-pushed the NetworkTargetOptimizeBufferReuse branch 13 times, most recently from 6e5f54a to 1fcefdf Compare February 4, 2018 14:47
@snakefoot snakefoot force-pushed the NetworkTargetOptimizeBufferReuse branch from 1fcefdf to 36b11c8 Compare February 4, 2018 15:08
@304NotModified 304NotModified merged commit 958bf76 into NLog:master Feb 5, 2018
@snakefoot snakefoot mentioned this pull request Feb 6, 2018
@snakefoot snakefoot deleted the NetworkTargetOptimizeBufferReuse branch April 4, 2020 17:37
@snakefoot snakefoot modified the milestones: 4.5 rc5, 4.5 Aug 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants