commit | c842fd0e8e143df6dcb21aefe959148cadc2e79b | [log] [tgz] |
---|---|---|
author | Julie Qiu <julie@golang.org> | Tue Oct 12 11:41:54 2021 -0400 |
committer | Julie Qiu <julie@golang.org> | Tue Oct 19 19:16:27 2021 +0000 |
tree | a961b3063933b50ac86d00ea10377886ead581f4 | |
parent | b07226de7ae72e50ec4d7efdc81365783c95c5aa [diff] |
cmd,internal: change search timeout error page Symbol search requests for popular symbols (such as "New") can occasionally timeout. Rather than return a 500 if a request times out, return a 408 and ask the user to try again. This will prevent on-callers from being paged if a request times out for symbol search, and it is very likely the request will succeed on the second try. Change-Id: Ic0ffe02261f94c931fc26e76490f1bca87b9f566 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/355369 Trust: Julie Qiu <julie@golang.org> Run-TryBot: Julie Qiu <julie@golang.org> Reviewed-by: Jamal Carvalho <jamal@golang.org>
Pkg.go.dev is a website for discovering and evaluating Go packages and modules.
You can check it out at https://pkg.go.dev.
If you want to report a bug or have a feature suggestion, please first check the known issues to see if your issue is already being discussed. If an issue does not already exist, feel free to file an issue.
For answers to frequently asked questions, see go.dev/about.
You can also chat with us on the #pkgsite Slack channel on the Gophers Slack.
We would love your help!
Our canonical Git repository is located at go.googlesource.com/pkgsite. There is a mirror of the repository at github.com/golang/pkgsite.
To contribute, please read our contributing guide.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.