diff --git a/content/developer/reference/cli.rst b/content/developer/reference/cli.rst index 430ed67e6..8034d870f 100644 --- a/content/developer/reference/cli.rst +++ b/content/developer/reference/cli.rst @@ -224,6 +224,20 @@ Database port the database listens on, defaults to 5432 +.. option:: --db_replica_host + + 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 the replica database listens on, defaults to 5432 + .. option:: --db-filter hides databases that do not match ````. The filter is a