google / exposure-notifications-server

Exposure Notification Reference Server | Covid-19 Exposure Notifications
https://www.google.com/covid19/exposurenotifications/
Apache License 2.0
2.46k stars 312 forks source link

jwks service times out #1380

Closed sethvargo closed 3 years ago

sethvargo commented 3 years ago

TL;DR

The jwks service sporadically times out, likely when building the cache.

We should consider moving computation to be more frequent and in-parallel, serving stale data when the result isn't rebuilt in time.

sethvargo commented 3 years ago

https://github.com/google/exposure-notifications-server/blob/main/internal/jwks/jwks.go#L76