mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-24 13:45:52 +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