mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-07 23:13:11 -06:00
Better explain what the ValidityPeriod is
This commit is contained in:
parent
0f952c7ba3
commit
cd8d9c49a3
|
|
@ -31,6 +31,9 @@ type FederationAPI struct {
|
|||
KeyID gomatrixserverlib.KeyID
|
||||
// A list of SHA256 TLS fingerprints for this server.
|
||||
TLSFingerPrints []gomatrixserverlib.TLSFingerprint
|
||||
// How long the keys are valid for.
|
||||
// How long a remote server can cache our server key for before requesting it again.
|
||||
// Increasing this number will reduce the number of requests made by remote servers
|
||||
// for our key, but increases the period a compromised key will be considered valid
|
||||
// by remote servers.
|
||||
ValidityPeriod time.Duration
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue