change ETL failover timeout to 2 seconds

This commit is contained in:
CJ Cobb
2021-09-24 13:29:45 -04:00
parent 58900a0472
commit 9e1d3cdf72

View File

@@ -636,7 +636,7 @@ ReportingETL::monitor()
// the ledger that has been validated by the network. In this
// manner, a reporting processing running in read-only mode does not
// need to restart if the database is wiped.
constexpr size_t timeoutSeconds = 10;
constexpr size_t timeoutSeconds = 2;
bool success = publishLedger(nextSequence, timeoutSeconds);
if (!success)
{