You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to account for long running compiles during Chef runs or downloads, (vagrant box add, for example) it might make sense to expose DEFAULT_READ_TIMEOUT as an ENV variable so that the user can configure it to suit their needs without having to go hacking the gems that call shell_out().
The text was updated successfully, but these errors were encountered:
That's fine and all, but the end user shouldn't go hacking away at something like chef-provisioning-vagrant just to tell Mixlib::Shellout to knock it off.
I understand that it can be configured via shell_out(), but that's not what this is about. I shouldn't need to go changing shell_out() just so it doesn't kill an in-flight download or compile that takes 1200 seconds instead of 600 seconds.
sbcas
changed the title
DEFAULT_READ_TIMEOUT should be configurable
DEFAULT_READ_TIMEOUT should be exposed higher
Feb 4, 2015
Consider this a feature request. Currently, Mixlib::Shellout will kill a long running command after 600 seconds (see: https://github.com/chef/mixlib-shellout/blob/master/lib/mixlib/shellout.rb#L29).
In order to account for long running compiles during Chef runs or downloads, (vagrant box add, for example) it might make sense to expose DEFAULT_READ_TIMEOUT as an ENV variable so that the user can configure it to suit their needs without having to go hacking the gems that call shell_out().
The text was updated successfully, but these errors were encountered: