mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-09 20:44:03 -08:00
fix(notice): extend timeout to 5 seconds
This commit is contained in:
parent
a65abd25a5
commit
b63009d3ff
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue