From 9e1d3cdf72c9cf3a1e83d290a3a687b2b6660314 Mon Sep 17 00:00:00 2001 From: CJ Cobb Date: Fri, 24 Sep 2021 13:29:45 -0400 Subject: [PATCH] change ETL failover timeout to 2 seconds --- src/etl/ReportingETL.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/etl/ReportingETL.cpp b/src/etl/ReportingETL.cpp index 4ad30dff5..fceeb6170 100644 --- a/src/etl/ReportingETL.cpp +++ b/src/etl/ReportingETL.cpp @@ -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) {