From 53527d5b6e831dbd9718d709db8ea3c5db093bf3 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Fri, 25 Nov 2022 14:11:48 +0200 Subject: [PATCH] Update example config --- example-config.yaml | 7 ++++++- go.mod | 2 +- go.sum | 4 ++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/example-config.yaml b/example-config.yaml index fd87b11..3263ff2 100644 --- a/example-config.yaml +++ b/example-config.yaml @@ -1,7 +1,7 @@ # Homeserver details. homeserver: # The address that this appservice can use to connect to the homeserver. - address: http://localhost:8008 + address: https://example.com # The domain of the homeserver (for MXIDs, etc). domain: example.com @@ -60,6 +60,11 @@ appservice: # Requires MSC2409 support (i.e. Synapse 1.22+). ephemeral_events: true + # Should incoming events be handled asynchronously? + # This may be necessary for large public instances with lots of messages going through. + # However, messages will not be guaranteed to be bridged in the same order they were sent in. + async_transactions: false + # Authentication tokens for AS <-> HS communication. Autogenerated; do not modify. as_token: "This value is generated when generating the registration" hs_token: "This value is generated when generating the registration" diff --git a/go.mod b/go.mod index 915829e..0a62d6f 100644 --- a/go.mod +++ b/go.mod @@ -12,7 +12,7 @@ require ( github.com/stretchr/testify v1.8.1 github.com/yuin/goldmark v1.5.3 maunium.net/go/maulogger/v2 v2.3.2 - maunium.net/go/mautrix v0.12.4-0.20221122192554-26c9ef6e7157 + maunium.net/go/mautrix v0.12.4-0.20221123200106-2ea51bee6cff ) require ( diff --git a/go.sum b/go.sum index a96b924..fd97674 100644 --- a/go.sum +++ b/go.sum @@ -68,5 +68,5 @@ maunium.net/go/mauflag v1.0.0 h1:YiaRc0tEI3toYtJMRIfjP+jklH45uDHtT80nUamyD4M= maunium.net/go/mauflag v1.0.0/go.mod h1:nLivPOpTpHnpzEh8jEdSL9UqO9+/KBJFmNRlwKfkPeA= maunium.net/go/maulogger/v2 v2.3.2 h1:1XmIYmMd3PoQfp9J+PaHhpt80zpfmMqaShzUTC7FwY0= maunium.net/go/maulogger/v2 v2.3.2/go.mod h1:TYWy7wKwz/tIXTpsx8G3mZseIRiC5DoMxSZazOHy68A= -maunium.net/go/mautrix v0.12.4-0.20221122192554-26c9ef6e7157 h1:x2SiQnZQeJJ8qYCwEJ/rN0SEpGgT/Ct8kqjB4y/7vM4= -maunium.net/go/mautrix v0.12.4-0.20221122192554-26c9ef6e7157/go.mod h1:uOUjkOjm2C+nQS3mr9B5ATjqemZfnPHvjdd1kZezAwg= +maunium.net/go/mautrix v0.12.4-0.20221123200106-2ea51bee6cff h1:qcOCJCuXnLSTpMuVhyUGuuo8WEHWd4FfS8LjztMbOGs= +maunium.net/go/mautrix v0.12.4-0.20221123200106-2ea51bee6cff/go.mod h1:uOUjkOjm2C+nQS3mr9B5ATjqemZfnPHvjdd1kZezAwg=