Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package specific ability to adjust the execution timeout #963

Open
ferventcoder opened this issue Sep 14, 2016 · 2 comments
Open

Package specific ability to adjust the execution timeout #963

ferventcoder opened this issue Sep 14, 2016 · 2 comments

Comments

@ferventcoder
Copy link
Member

ferventcoder commented Sep 14, 2016

Some packages already know they take over an hour or more to install. Wouldn't it be nice if the package could request longer periods for install?

Of course it can't be done in automation scripts because by the time those run the value is already locked in stone and counting down. So that leaves either a nuspec enhancement #325 or a special file that could be found in the package

Original conversation with @tcase:

image

UPDATE: As Chocolatey Gitter chat is now unavailable, I've added a screenshot of the Gitter chat.

@tmwsiy2012
Copy link

tmwsiy2012 commented Jun 18, 2017

This is something that would certainly provide more resiliency for end users. It just took sas94 over 1.5 hours with just one machine hitting the server.
Could be as simple as another optional parameter (I like the idea of a special file that choco would look for in the path after extraction but before time starts? not looked at code for this yet) that would set the timeout to the greater of local config and package config. Probably be nice to put an extra warning message if it is set higher than local config so that user knows what to expect. Also restore to previous local config regardless of success or failure.,

@ferventcoder
Copy link
Member Author

Added security as we'd see this as an opt-in thing to allow passing over to the package to control something normally controlled by the end user.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants