google / exposure-notifications-server

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

Unreachable db ping check within health handler #1508

Closed alextur closed 3 years ago

alextur commented 3 years ago

With providing 0 value to NewLimiter() function the created limiter will never allow to permit an event. https://github.com/google/exposure-notifications-server/blob/36dbf20153e8103529c4c13dc07f0f9daff53819/pkg/server/healthz.go#L30