mirror of
https://github.com/odoo/documentation.git
synced 2026-01-02 17:59:20 +07:00
[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:
committed by
Julien Castiaux
parent
bc18ad4657
commit
3bcbcf9b85
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user