x/pkgsite: add function to set up queue #40097
Closed
Labels
Milestone
Comments
Mind if I take a stab at this? |
Please do! |
Change https://golang.org/cl/241477 mentions this issue: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We use the same
newQueue
logic incmd/frontend
andcmd/worker
:cmd/worker
: https://github.com/golang/pkgsite/blob/41e1cccbb27a6960bda31600e32960cf99d31b51/cmd/worker/main.go#L146cmd/frontend
: https://github.com/golang/pkgsite/blob/41e1cccbb27a6960bda31600e32960cf99d31b51/cmd/frontend/main.go#L161It would be nice to have a single function to reduce duplication.
The text was updated successfully, but these errors were encountered: