aboutsummaryrefslogtreecommitdiff
path: root/internal/postgres/insert_module_test.go
diff options
context:
space:
mode:
authorJonathan Amsterdam <jba@google.com>2020-06-23 14:12:41 -0400
committerJonathan Amsterdam <jba@google.com>2020-06-26 21:13:17 +0000
commit08e8e660a65bf3ad770682a02fc3298b12e251b4 (patch)
treea626a9b3cc98615865c0fe48ea37f8b784e01d96 /internal/postgres/insert_module_test.go
parent35d44197af7f48418271f5bcb637fe55fd94b1dd (diff)
downloadgo-x-pkgsite-08e8e660a65bf3ad770682a02fc3298b12e251b4.tar.xz
internal/worker: add /poll and /enqueue endpoints.
Add a /poll endpoint that polls the index, but just writes to module_version_states without enqueuing. Add an /enqueue endpoint that is identical to /requeue. The name more accurately reflects that it is for new modules as well as reprocessing. Update the worker status page to use the new endpoints. We'll delete the old endpoints after deploying and changing the scheduler jobs. Updates b/158866584. Change-Id: Id116bf9fd99fa55aaacd71bb4ca6b60770ca8812 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/239480 Reviewed-by: Julie Qiu <julie@golang.org>
Diffstat (limited to 'internal/postgres/insert_module_test.go')
0 files changed, 0 insertions, 0 deletions