HTTP API to cache keys that have been requested

This commit is contained in:
Neil Alexander 2020-05-27 09:42:59 +01:00
parent 28520143ff
commit 80be97e5af

View file

@ -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
} }