Shorten extension release checking from 3s to 1s

Addressing feedback from extension author demonstration about a noticable pause waiting for extension execution to complete due to amount of time waiting on channel.
This commit is contained in:
Andy Feller 2024-11-13 13:04:01 -05:00
parent 9b9e654c76
commit b8ef951de1

View file

@ -72,7 +72,7 @@ func NewCmdExtension(io *iostreams.IOStreams, em extensions.ExtensionManager, ex
fmt.Fprintf(stderr, "%s\n\n",
cs.Yellow(releaseInfo.URL))
}
case <-time.After(3 * time.Second):
case <-time.After(1 * time.Second):
// Bail on checking for new extension update as its taking too long
}
},