1
0
mirror of https://github.com/golang/go synced 2024-11-18 16:44:43 -07:00
go/cmd/godoc
Dmitri Shuralyov 90aeebe843 cmd/godoc: move poll sleep to top of loop
CL 196979 moved the pollInterval sleep to the bottom of the loop
with the intent of not sleeping before the first readiness check,
but that caused an unintended consequence of the sleep being skipped
when errors happen. Move it back to the top to avoid that problem.

Change-Id: Ia63f09afe47d93df657ca867ceecc4d7df6abccc
Reviewed-on: https://go-review.googlesource.com/c/tools/+/197940
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2019-09-30 15:27:28 +00:00
..
blog.go cmd/godoc: redirect to https instead of http for blog.golang.org 2018-08-22 02:22:54 +00:00
codewalk.go all: replace reference to plan9.bell-labs.com with 9p.io 2019-08-26 06:06:29 +00:00
dl.go cmd/godoc: remove golang.org serving code 2019-02-20 19:02:57 +00:00
doc.go cmd/godoc: re-add documentation for flat presentation mode 2019-02-19 03:57:21 +00:00
godoc_test.go cmd/godoc: move poll sleep to top of loop 2019-09-30 15:27:28 +00:00
goroot.go cmd/godoc: use same GOROOT discovery as Go 1.10's cmd/go 2018-06-12 01:24:34 +00:00
handlers.go godoc/env: replace with golangorgenv 2019-03-07 16:39:06 +00:00
index.go cmd/godoc: exclude /pkg from search indexing 2015-03-12 00:26:38 +00:00
main.go cmd/godoc: remove golang.org serving code 2019-02-20 19:02:57 +00:00
play.go cmd/godoc: remove golang.org serving code 2019-02-20 19:02:57 +00:00