[IMP] developer/reference/cli: --db_replica_(host|port)

The option was introduced last year but the documentation hasn't been
updated accordingly.

closes odoo/documentation#14436

X-original-commit: f4b3b7f03a
Signed-off-by: Julien Castiaux (juc) <juc@odoo.com>
Co-authored-by: Julien Castiaux <juc@odoo.com>
This commit is contained in:
fja-odoo
2025-07-08 08:11:08 +00:00
committed by Julien Castiaux
parent bc18ad4657
commit 3bcbcf9b85

View File

@@ -224,6 +224,20 @@ Database
port the database listens on, defaults to 5432
.. option:: --db_replica_host <hostname>
host for the replica server
When set, it redirect all read-only transactions to this host, instead of of the primary
database at ``--db_host``.
The host can be set to an empty string or to the same value as ``--db_host`` to simulate a
replicated environnement, for development.
.. option:: --db_replica_port <port>
port the replica database listens on, defaults to 5432
.. option:: --db-filter <filter>
hides databases that do not match ``<filter>``. The filter is a