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

Commit

Permalink
increased chromedp request timeout to 15 secs for GH action
Browse files Browse the repository at this point in the history
  • Loading branch information
dstpierre committed Mar 16, 2022
1 parent 0f22047 commit 2847048
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extras.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ func (ex *extras) htmlToX(w http.ResponseWriter, r *http.Request) {
)*/

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

//HACK:
ctx, cancel := chromedp.NewContext(cctx)
Expand Down

0 comments on commit 2847048

Please sign in to comment.