1
0
Fork 0
mirror of https://forgejo.ellis.link/continuwuation/continuwuity.git synced 2025-07-29 19:28:31 +00:00

docs(config): warn about federation key query timeout caveat

Signed-off-by: rooot <hey@rooot.gay>
This commit is contained in:
rooot 2025-07-20 16:46:18 +02:00
parent 5399ac97f2
commit 811623adb8
No known key found for this signature in database
GPG key ID: 3582D7B034FF964F
2 changed files with 6 additions and 2 deletions

View file

@ -328,7 +328,9 @@
# Federation client connection timeout (seconds). You should not set this # Federation client connection timeout (seconds). You should not set this
# to high values, as dead homeservers can significantly slow down federation, # to high values, as dead homeservers can significantly slow down federation,
# specifically key retrieval, which will take roughly the amount of time # specifically key retrieval, which will take roughly the amount of time
# you configure here given that a homeserver doesn't respond. # you configure here given that a homeserver doesn't respond. This will
# cause most clients to time out /keys/query, causing E2EE and device
# verification to fail.
# #
#federation_conn_timeout = 10 #federation_conn_timeout = 10

View file

@ -415,7 +415,9 @@ pub struct Config {
/// Federation client connection timeout (seconds). You should not set this /// Federation client connection timeout (seconds). You should not set this
/// to high values, as dead homeservers can significantly slow down federation, /// to high values, as dead homeservers can significantly slow down federation,
/// specifically key retrieval, which will take roughly the amount of time /// specifically key retrieval, which will take roughly the amount of time
/// you configure here given that a homeserver doesn't respond. /// you configure here given that a homeserver doesn't respond. This will
/// cause most clients to time out /keys/query, causing E2EE and device
/// verification to fail.
/// ///
/// default: 10 /// default: 10
#[serde(default = "default_federation_conn_timeout")] #[serde(default = "default_federation_conn_timeout")]