Skip to content

Commit a118b19

Browse files
authored
Merge pull request #16 from screwdriver-cd/jithin1987-patch-1
fix: habitat api slow response
2 parents fcb48cf + 12d1320 commit a118b19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hab/hab.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ type depot struct {
3737

3838
// New returns a new depot object
3939
func New(baseURL string) Depot {
40-
return &depot{baseURL, &http.Client{Timeout: 10 * time.Second}}
40+
return &depot{baseURL, &http.Client{Timeout: 20 * time.Second}}
4141
}
4242

4343
// packagesInfo fetch packages info from depot

0 commit comments

Comments
 (0)