Skip to content
This repository was archived by the owner on Apr 12, 2019. It is now read-only.

Commit 046e473

Browse files
authored
Merge pull request #3 from 0xbaadf00d/fix/18-sleep-induced-slowness
Sleep induced slowness in gogits
2 parents 93f55fc + a5cddbf commit 046e473

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tree_entry.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import (
1111
"sort"
1212
"strconv"
1313
"strings"
14-
"time"
1514
)
1615

1716
type EntryMode int
@@ -157,7 +156,6 @@ func (tes Entries) GetCommitsInfo(commit *Commit, treePath string) ([][]interfac
157156

158157
if tes[i].Type != OBJECT_COMMIT {
159158
go func(i int) {
160-
time.Sleep(200 * time.Millisecond)
161159
cinfo := commitInfo{entryName: tes[i].Name()}
162160
c, err := commit.GetCommitByPath(filepath.Join(treePath, tes[i].Name()))
163161
if err != nil {

0 commit comments

Comments
 (0)