mirror of https://gitee.com/bigwinds/arangodb
Increase some timeouts from 60 to 90s to be more load tolerant.
This commit is contained in:
parent
a5e51e5459
commit
039ca9aceb
|
@ -45,7 +45,7 @@
|
||||||
using namespace arangodb::basics;
|
using namespace arangodb::basics;
|
||||||
using namespace arangodb::rest;
|
using namespace arangodb::rest;
|
||||||
|
|
||||||
static double const CL_DEFAULT_TIMEOUT = 60.0;
|
static double const CL_DEFAULT_TIMEOUT = 90.0;
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
template<typename T>
|
template<typename T>
|
||||||
|
|
|
@ -72,7 +72,7 @@ function SynchronousReplicationSuite () {
|
||||||
cinfo = global.ArangoClusterInfo.getCollectionInfo(database, cn);
|
cinfo = global.ArangoClusterInfo.getCollectionInfo(database, cn);
|
||||||
shards = Object.keys(cinfo.shards);
|
shards = Object.keys(cinfo.shards);
|
||||||
var count = 0;
|
var count = 0;
|
||||||
while (++count <= 120) {
|
while (++count <= 180) {
|
||||||
ccinfo = shards.map(
|
ccinfo = shards.map(
|
||||||
s => global.ArangoClusterInfo.getCollectionInfoCurrent(database, cn, s)
|
s => global.ArangoClusterInfo.getCollectionInfoCurrent(database, cn, s)
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue