Skip to content

Commit f104e67

Browse files
committed
remove manual GC clear
1 parent 0d19480 commit f104e67

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

pkg/github/actions.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import (
66
"encoding/json"
77
"fmt"
88
"net/http"
9-
"runtime"
109
"strconv"
1110
"strings"
1211

@@ -773,10 +772,6 @@ func downloadLogContent(logURL string, tailLines int) (string, int, *http.Respon
773772

774773
lines[writeIndex] = line
775774
writeIndex = (writeIndex + 1) % maxLines
776-
777-
if totalLines%10000 == 0 {
778-
runtime.GC()
779-
}
780775
}
781776

782777
if err := scanner.Err(); err != nil {

0 commit comments

Comments
 (0)