1
0
Fork 0

well tested auto adaptation

This commit is contained in:
Kaveh Vahedipour 2016-10-31 14:35:15 +01:00
parent afadad7ad4
commit 69131a2fd3
3 changed files with 438 additions and 438 deletions

View File

@ -439,7 +439,7 @@ bool Inception::estimateRAFTInterval() {
}
}
maxmean = 1.0e-2*std::ceil(100*(.15 + 1.0e-3*maxmean));
maxmean = 1.e-3*std::ceil(1.e3*(.1 + 1.0e-3*(maxmean+maxstdev)));
LOG_TOPIC(INFO, Logger::AGENCY)
<< "Auto-adapting RAFT timing to: {" << maxmean

File diff suppressed because it is too large Load Diff

View File

@ -124,7 +124,7 @@ extern int Aqldebug;
union YYSTYPE
{
#line 19 "Aql/grammar.y" /* yacc.c:1909 */
#line 19 "Aql/grammar.y" /* yacc.c:1915 */
arangodb::aql::AstNode* node;
struct {
@ -134,7 +134,7 @@ union YYSTYPE
bool boolval;
int64_t intval;
#line 138 "Aql/grammar.hpp" /* yacc.c:1909 */
#line 138 "Aql/grammar.hpp" /* yacc.c:1915 */
};
typedef union YYSTYPE YYSTYPE;