From 37c18cdcf3aff529d2ddc9c480be7ee444fbd59c Mon Sep 17 00:00:00 2001 From: Andrew Gerrand Date: Thu, 1 Aug 2013 17:37:20 +1000 Subject: [PATCH] go.tools/cmd/godoc: start indexer in app engine mode R=golang-dev CC=golang-dev https://golang.org/cl/12237044 --- cmd/godoc/appinit.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/godoc/appinit.go b/cmd/godoc/appinit.go index b0bcf3d264..a2432cee06 100644 --- a/cmd/godoc/appinit.go +++ b/cmd/godoc/appinit.go @@ -40,10 +40,10 @@ func init() { corpus.Verbose = false corpus.IndexEnabled = true corpus.IndexFiles = indexFilenames - if err := corpus.Init(); err != nil { log.Fatal(err) } + go corups.RunIndexer() pres = godoc.NewPresentation(corpus) pres.TabWidth = 8