fix(notice): extend timeout to 5 seconds

This commit is contained in:
Jan De Dobbeleer 2024-07-08 16:35:38 +02:00 committed by Jan De Dobbeleer
parent a65abd25a5
commit b63009d3ff

View file

@ -42,7 +42,7 @@ To enable automated upgrades, set 'auto_upgrade' to 'true' in your configuration
)
func Latest(env runtime.Environment) (string, error) {
body, err := env.HTTPRequest(RELEASEURL, nil, 1000)
body, err := env.HTTPRequest(RELEASEURL, nil, 5000)
if err != nil {
return "", err
}