Skip to content

Commit

Permalink
chore: increase web scraper timeout to 3 minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
b-dulaney committed Apr 23, 2024
1 parent c12fd92 commit 3723305
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/scraping/scraping.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ func ScrapeResortData(mountainName *string) (map[string]interface{}, error) {

defer cancel()

ctx, cancel = context.WithTimeout(ctx, 120*time.Second)
ctx, cancel = context.WithTimeout(ctx, 180*time.Second)
defer cancel()

navigateToURL(ctx, config.ConditionsURL)
Expand Down

0 comments on commit 3723305

Please sign in to comment.