diff --git a/arangod/Agency/RestAgencyHandler.cpp b/arangod/Agency/RestAgencyHandler.cpp index 16ebe8b76b..ac12040874 100644 --- a/arangod/Agency/RestAgencyHandler.cpp +++ b/arangod/Agency/RestAgencyHandler.cpp @@ -153,7 +153,7 @@ HttpHandler::status_t RestAgencyHandler::handleWrite() { } catch (std::exception const& e) { LOG_TOPIC(WARN, Logger::AGENCY) << e.what(); } - std::this_thread::sleep_for(duration_t(1)); + std::this_thread::sleep_for(duration_t(2)); if (max_index > 0) { _agent->waitFor(max_index); } diff --git a/arangod/Agency/Supervision.cpp b/arangod/Agency/Supervision.cpp index caddf6bae7..bb02164373 100644 --- a/arangod/Agency/Supervision.cpp +++ b/arangod/Agency/Supervision.cpp @@ -271,7 +271,7 @@ void Supervision::run() { // make sense at all without other ArangoDB servers, we wait pretty // long here before giving up: if (!updateAgencyPrefix(1000, 1)) { - LOG_TOPIC(ERR, Logger::AGENCY) + LOG_TOPIC(DEBUG, Logger::AGENCY) << "Cannot get prefix from Agency. Stopping supervision for good."; break; } diff --git a/js/client/tests/agency/agency-test.js b/js/client/tests/agency/agency-test.js index 09229998b7..4890003d25 100644 --- a/js/client/tests/agency/agency-test.js +++ b/js/client/tests/agency/agency-test.js @@ -355,7 +355,6 @@ function agencyTestSuite () { leaderEndpoint = config.configuration.endpoints[config.leaderId].replace("tcp", "http"); break; } - wait(0.05); } } else { leaderEndpoint = agencyServers[0].replace("tcp", "http");