Skip to content

Conversation

@dparton
Copy link
Contributor

@dparton dparton commented Aug 14, 2018

This introduces a flushes_per_second() public function, accessible through the source module. This PR increases the flush frequency from 1hz to 100hz. Old configuration files remain backwards compatible. The new code will continue to accept flush_interval values that are integers, but will also now accept floating point values in order to specify sub-second flush intervals. At 100hz, the lowest delay is 10ms.

@dparton dparton requested review from blt and pulltab August 14, 2018 01:31
@codecov
Copy link

codecov bot commented Aug 14, 2018

Codecov Report

Merging #449 into master will increase coverage by 0.18%.
The diff coverage is 97.5%.

@@            Coverage Diff             @@
##           master     #449      +/-   ##
==========================================
+ Coverage   91.94%   92.13%   +0.18%     
==========================================
  Files          29       30       +1     
  Lines        4037     4041       +4     
==========================================
+ Hits         3712     3723      +11     
+ Misses        325      318       -7

Copy link
Contributor

@pulltab pulltab left a comment

Choose a reason for hiding this comment

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

LGTM.

@blt Any objections?

@blt
Copy link
Collaborator

blt commented Aug 14, 2018 via email

ProgrammableFilterConfig,
};
use sink::wavefront::PadControl;
use source::{StatsdConfig, StatsdParseConfig};
Copy link
Collaborator

Choose a reason for hiding this comment

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

Quality change.

@dparton dparton merged commit e63c6e6 into master Aug 14, 2018
@dparton dparton deleted the flush-precision branch August 14, 2018 17:04
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