Skip to content

Commit 46ba3b1

Browse files
committed
Fix Synapse module config doc
1 parent 89eabe2 commit 46ba3b1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

synapse/README.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,17 @@ Configuration options
3535

3636
Apart from the `prefix` the following config options are available:
3737

38-
- `ttl`: The time-to-live of the rendezvous session in seconds. Defaults to 60.
39-
- `max_bytes`: The maximum number of bytes that can be sent in a single request. Defaults to 4096.
38+
- `ttl`: The time-to-live of the rendezvous session. Defaults to 60s.
39+
- `max_bytes`: The maximum number of bytes that can be sent in a single request. Defaults to 4096 bytes.
4040

4141
An example configuration setting these and a custom prefix would like::
4242

4343
modules:
4444
- module: matrix_http_rendezvous_synapse.SynapseRendezvousModule
4545
config:
4646
prefix: /rendezvous
47-
ttl: 15 # seconds
48-
max_bytes: 10240 # 10 KiB
47+
ttl: 15s
48+
max_bytes: 10KiB
4949

5050
experimental_features:
5151
msc3886_endpoint: /rendezvous # this should match above

0 commit comments

Comments
 (0)