Fix fs config

This commit is contained in:
Neil Alexander 2020-08-10 18:02:47 +01:00
parent fec9e3dc70
commit 94175889e9
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -3,8 +3,8 @@ package config
type FederationSender struct { type FederationSender struct {
Matrix *Global `json:"-"` Matrix *Global `json:"-"`
Listen Address `json:"listen"` Listen Address `json:"Listen" comment:"Listen address for this component."`
Bind Address `json:"bind"` Bind Address `json:"Bind" comment:"Bind address for this component."`
Database DatabaseOptions `json:"Database" comment:"Database configuration for this component."` Database DatabaseOptions `json:"Database" comment:"Database configuration for this component."`
FederationMaxRetries uint32 `json:"SendMaxRetries" comment:"How many times we will try to resend a failed transaction to a specific server. The\nbackoff is 2**x seconds, so 1 = 2 seconds, 2 = 4 seconds, 3 = 8 seconds etc."` FederationMaxRetries uint32 `json:"SendMaxRetries" comment:"How many times we will try to resend a failed transaction to a specific server. The\nbackoff is 2**x seconds, so 1 = 2 seconds, 2 = 4 seconds, 3 = 8 seconds etc."`
DisableTLSValidation bool `json:"DisableTLSValidation" comment:"Disable the validation of TLS certificates of remote federated homeservers. Do not\nenable this option in production as it presents a security risk!"` DisableTLSValidation bool `json:"DisableTLSValidation" comment:"Disable the validation of TLS certificates of remote federated homeservers. Do not\nenable this option in production as it presents a security risk!"`