Skip to content

Commit

Permalink
increase histogram precision
Browse files Browse the repository at this point in the history
  • Loading branch information
pdziepak committed Jun 12, 2017
1 parent f43dbf3 commit 8211aab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modes.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func (mr *MergedResult) AddResult(result Result) {
}

func NewHistogram() *hdrhistogram.Histogram {
return hdrhistogram.New(time.Microsecond.Nanoseconds()*50, (timeout + timeout*2).Nanoseconds(), 3)
return hdrhistogram.New(time.Microsecond.Nanoseconds()*50, (timeout + timeout*2).Nanoseconds(), 5)
}

var reportedError uint32
Expand Down

0 comments on commit 8211aab

Please sign in to comment.