Skip to content

Commit

Permalink
feat: increased http timeout to 60s
Browse files Browse the repository at this point in the history
  • Loading branch information
tizu69 committed Jan 11, 2025
1 parent 96dac2d commit 16a9d03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/kjspkg/pkglist.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
)

var PackageList = "https://raw.githubusercontent.com/Modern-Modpacks/kjspkg/main/pkgs.json"
var httpClient = http.Client{Timeout: time.Second * 10}
var httpClient = http.Client{Timeout: time.Second * 60}
var packageListCache map[string]PackageLocator

func GetPackageList() (map[string]PackageLocator, error) {
Expand Down

0 comments on commit 16a9d03

Please sign in to comment.