Skip to content
This repository was archived by the owner on Sep 2, 2024. It is now read-only.

Commit 2847048

Browse files
committed
increased chromedp request timeout to 15 secs for GH action
1 parent 0f22047 commit 2847048

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extras.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ func (ex *extras) htmlToX(w http.ResponseWriter, r *http.Request) {
147147
)*/
148148

149149
// make sure it can timeout
150-
cctx, _ := context.WithTimeout(context.Background(), 5*time.Second)
150+
cctx, _ := context.WithTimeout(context.Background(), 15*time.Second)
151151

152152
//HACK:
153153
ctx, cancel := chromedp.NewContext(cctx)

0 commit comments

Comments
 (0)