Skip to content

Commit 2ceb4d5

Browse files
0xBAADF00Dunknwon
authored andcommitted
Remove "sleep" usage (#24)
1 parent e59143d commit 2ceb4d5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tree_entry.go

-2
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)