mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-20 21:33:19 -06:00
HTTP API to cache keys that have been requested
This commit is contained in:
parent
28520143ff
commit
80be97e5af
|
|
@ -107,6 +107,7 @@ func (s *httpServerKeyInternalAPI) FetchKeys(
|
||||||
}
|
}
|
||||||
for req, res := range response.Results {
|
for req, res := range response.Results {
|
||||||
result[req] = res
|
result[req] = res
|
||||||
|
s.immutableCache.StoreServerKey(req, res)
|
||||||
}
|
}
|
||||||
return result, nil
|
return result, nil
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue