Skip to content

Commit

Permalink
Increase search timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
Naatan committed Sep 13, 2024
1 parent 2520098 commit 02ba527
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/platform/model/inventory.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ func searchIngredientsNamespace(ns string, name string, includeVersions bool, ex
}
params.SetLimit(&limit)
params.SetHTTPClient(api.NewHTTPClient())
params.WithTimeout(60 * time.Second)

if ts != nil {
dt := strfmt.DateTime(*ts)
Expand Down

0 comments on commit 02ba527

Please sign in to comment.