mirror of https://gitee.com/bigwinds/arangodb
investigation into agency comm errors
This commit is contained in:
parent
ce2b221615
commit
5db9ec52ec
|
@ -447,7 +447,7 @@ bool Inception::estimateRAFTInterval() {
|
|||
|
||||
double precision = 1.0e-2;
|
||||
mn = precision *
|
||||
std::ceil((1. / precision)*(.5 + precision * (maxmean + 3.*maxstdev)));
|
||||
std::ceil((1. / precision)*(1.0 + precision * (maxmean + 3.*maxstdev)));
|
||||
if (config.waitForSync()) {
|
||||
mn *= 4.;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue