mirror of
https://github.com/XRPLF/clio.git
synced 2025-12-01 17:15:52 +00:00
support for read replicas with postgres
This commit is contained in:
@@ -711,7 +711,6 @@ ReportingETL::ReportingETL(
|
||||
networkValidatedLedgers_,
|
||||
ioc)
|
||||
{
|
||||
flatMapBackend_->open();
|
||||
if (config.contains("start_sequence"))
|
||||
startSequence_ = config.at("start_sequence").as_int64();
|
||||
if (config.contains("finish_sequence"))
|
||||
@@ -724,5 +723,6 @@ ReportingETL::ReportingETL(
|
||||
extractorThreads_ = config.at("extractor_threads").as_int64();
|
||||
if (config.contains("txn_threshold"))
|
||||
txnThreshold_ = config.at("txn_threshold").as_int64();
|
||||
flatMapBackend_->open(readOnly_);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user