internal/{govulncheck,worker}: use Firestore for WorkStates
Store and retrieve work states from Firestore.
This should be significantly faster than reading them from BigQuery,
so remove the per-process cache.
Change-Id: I76c3ca2aa28e9aa7a222cee58b7f43cf9d7386a8
Reviewed-on: https://go-review.googlesource.com/c/pkgsite-metrics/+/551756
Run-TryBot: Jonathan Amsterdam <jba@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Zvonimir Pavlinovic <zpavlinovic@google.com>
This repository contains code that serves pkg.go.dev/metrics.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the time repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/pkgsite-metrics:” in the subject line, so it is easy to find.