Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

godoc pulling all resources #35

Open
hsnewman opened this issue Jan 23, 2016 · 0 comments
Open

godoc pulling all resources #35

hsnewman opened this issue Jan 23, 2016 · 0 comments

Comments

@hsnewman
Copy link

godoc seems to be using all the resources it can get. I've found the issue and it's in doc.go:

cmd := exec.Command("godoc", "-http=127.0.0.1:"+godocPortStr, "-index=true", "templates="+godoc_templates_dir)

to:

cmd := exec.Command("godoc", "-http=127.0.0.1:"+godocPortStr, "-index=true", "-maxresu
lts=0","-templates="+godoc_templates_dir)

basically, adding -maxresults=0 makesit play nice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant