Skip to content

Commit

Permalink
refactor(crawler): set RetryMax to 15
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriyLewen committed Jan 28, 2025
1 parent db91ec3 commit e6c4533
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/crawler/crawler.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ type Option struct {

func NewCrawler(opt Option) (Crawler, error) {
client := retryablehttp.NewClient()
client.RetryMax = 10
client.RetryMax = 15
client.Logger = slog.Default()
client.RetryWaitMin = 1 * time.Minute
client.RetryWaitMax = 5 * time.Minute
Expand Down

0 comments on commit e6c4533

Please sign in to comment.