demote

The Synapse demote tool can be used to automatically select a new leader and demote this service.

Syntax

demote is executed using python -m synapse.tools.demote. The command usage is as follows:

python -m synapse.tools.demote -h

usage: synapse.tools.demote [-h] [--url URL] [--timeout TIMEOUT]

Automatically select a new leader and demote this service.

Example:
    python -m synapse.tools.demote

options:
  -h, --help         show this help message and exit
  --url URL          The telepath URL of the Synapse service.
  --timeout TIMEOUT  The timeout to use awaiting network connections.