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

Sleep induced slowness in gogits #18

Closed
tgulacsi opened this issue Sep 9, 2016 · 1 comment
Closed

Sleep induced slowness in gogits #18

tgulacsi opened this issue Sep 9, 2016 · 1 comment

Comments

@tgulacsi
Copy link

tgulacsi commented Sep 9, 2016

For directories with lot of (few thousand) files, https://github.com/gogits/git-module/blob/master/tree_entry.go#L160 time.Sleep(200*time.Millisecond) adds up.

By commenting it out, a 20s page rendering goes down to 1.6s (I was searching for solution for gogs/gogs#1518)

Is that sleep required?

@unknwon
Copy link
Member

unknwon commented Dec 8, 2016

Fixed by #24

@unknwon unknwon closed this as completed Dec 8, 2016
sapk pushed a commit to sapk-fork/git-module that referenced this issue Mar 8, 2017
Fixed typos on CONTRIBUTING based on work of @thehowl
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

2 participants