1
0
Fork 0

Increase timeout a coordinator waits for dbservers to show up.

This commit is contained in:
Max Neunhoeffer 2016-12-02 10:59:21 +01:00
parent e80649aeba
commit 7455c619ee
1 changed files with 2 additions and 2 deletions

View File

@ -305,10 +305,10 @@ void ClusterFeature::prepare() {
double start = TRI_microtime();
while (true) {
LOG(INFO) << "Waiting for a DBserver to show up...";
LOG(INFO) << "Waiting for DBservers to show up...";
ci->loadCurrentDBServers();
std::vector<ServerID> DBServers = ci->getCurrentDBServers();
if (DBServers.size() > 1 || TRI_microtime() - start > 30.0) {
if (DBServers.size() > 1 || TRI_microtime() - start > 3600.0) {
LOG(INFO) << "Found " << DBServers.size() << " DBservers.";
break;
}