Skip to content

Commit

Permalink
Fix PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
another-rex committed Dec 23, 2024
1 parent 2ec6518 commit c270c09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/osvdev/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ type ClientConfig struct {
UserAgent string
}

// Default make a default client config
// DefaultConfig make a default client config
func DefaultConfig() ClientConfig {
return ClientConfig{
MaxRetryAttempts: 4,
JitterMultiplier: 2,
BackoffDurationExponential: 2,
BackoffDurationMultiplier: 1,
UserAgent: "osv-scanner-v2-" + version.OSVVersion,
UserAgent: "osv-scanner/" + version.OSVVersion,
MaxConcurrentRequests: 1000,
MaxConcurrentBatchRequests: 10,
}
Expand Down

0 comments on commit c270c09

Please sign in to comment.