mirror of https://gitee.com/bigwinds/arangodb
waitinterval should be reset after redirects from agency
This commit is contained in:
parent
6ec19a3136
commit
ba31d0e4a5
|
@ -1289,6 +1289,7 @@ AgencyCommResult AgencyComm::sendWithFailover(
|
|||
endpoint = AgencyCommManager::MANAGER->redirect(
|
||||
std::move(connection), endpoint, result._location, url);
|
||||
connection = AgencyCommManager::MANAGER->acquire(endpoint);
|
||||
waitInterval = std::chrono::duration<double>(.25);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue