mirror of
https://github.com/XRPLF/clio.git
synced 2026-04-29 15:37:53 +00:00
support for read replicas with postgres
This commit is contained in:
@@ -625,9 +625,10 @@ PostgresBackend::fetchAccountTransactions(
|
||||
} // namespace Backend
|
||||
|
||||
void
|
||||
PostgresBackend::open()
|
||||
PostgresBackend::open(bool readOnly)
|
||||
{
|
||||
initSchema(pgPool_);
|
||||
if (!readOnly)
|
||||
initSchema(pgPool_);
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user