Skip to content

Commit

Permalink
Bump to 0.8.1
Browse files Browse the repository at this point in the history
This release improves the performance of the Prometheus sink when
the aggregation server is either slow to hang-up or there are many
servers calling in. Previously an exclusive lock was held over the
sink aggregator, a real problem when you're trying to ingest and
report frequently.

Signed-off-by: Brian L. Troutwine <blt@postmates.com>
  • Loading branch information
Brian L. Troutwine committed Nov 29, 2017
1 parent 374f276 commit e82a183
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 26 deletions.
49 changes: 25 additions & 24 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ license = "MIT"
name = "cernan"
readme = "README.md"
repository = "https://github.com/postmates/cernan"
version = "0.8.1-pre"
version = "0.8.1"

[[bin]]
name = "cernan"
Expand Down
2 changes: 1 addition & 1 deletion src/sink/prometheus.rs
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,7 @@ mod test {

#[test]
fn test_reportable() {
fn inner(mut aggr: PrometheusAggr) -> TestResult {
fn inner(aggr: PrometheusAggr) -> TestResult {
let cur_cnt = aggr.count();

let mut reportable_cnt = 0;
Expand Down

0 comments on commit e82a183

Please sign in to comment.