mirror of https://gitee.com/bigwinds/arangodb
minor minor
This commit is contained in:
parent
d6db18d655
commit
eb71e96e0c
|
@ -76,7 +76,7 @@ priv_rpc_ret_t Agent::requestVote(term_t t, id_t id, index_t lastLogIndex,
|
|||
++j;
|
||||
}
|
||||
}
|
||||
LOG(WARN) << _config;
|
||||
//LOG(WARN) << _config;
|
||||
}
|
||||
|
||||
return priv_rpc_ret_t(
|
||||
|
|
|
@ -498,9 +498,8 @@ void Store::clearTimeTable () {
|
|||
|
||||
void Store::run() {
|
||||
CONDITION_LOCKER(guard, _cv);
|
||||
|
||||
while (!this->isStopping()) { // Check timetable and remove overage entries
|
||||
_cv.wait(200000); // better wait to next known time point
|
||||
_cv.wait(100000); // better wait to next known time point
|
||||
clearTimeTable();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -118,9 +118,8 @@ public:
|
|||
|
||||
/// @brief Root node
|
||||
Node& root();
|
||||
|
||||
|
||||
/// @brief Dump
|
||||
/// @brief Dump to ostream
|
||||
friend std::ostream& operator<<(std::ostream& os, const Node& n) {
|
||||
Node const* par = n._parent;
|
||||
while (par != 0) {
|
||||
|
@ -138,6 +137,9 @@ public:
|
|||
return os;
|
||||
}
|
||||
|
||||
/// #brief Get path of this node
|
||||
std::string path ();
|
||||
|
||||
/// @brief Apply single slice
|
||||
bool applies (arangodb::velocypack::Slice const&);
|
||||
|
||||
|
|
Loading…
Reference in New Issue