jedi4ever / veewee

Easing the building of vagrant boxes
MIT License
4.29k stars 779 forks source link

pass the threaded=>true option to http server #933

Closed vpereira closed 10 years ago

vpereira commented 10 years ago

i would like to start my webserver as threaded. however, the option isnt exposed:

https://github.com/jedi4ever/veewee/blob/4cf8acc7507d646f897dcd40bf06b2bcc961a6c0/lib/veewee/provider/core/box/build.rb#L221

mpapis commented 10 years ago

closing this ticket as invalid - requesting the file is sign for veewee the system booted properly, using multiple threads would not help, if the file is requested multiple times - it should be specified on the list as many times as needed, we could optionally turn the list to hash and indicate the number of downloads in values like this:

{ "setup.file" => 3 }

which would mean setup.file is to be requested 3 times, but this has low value as specifying the file twice already works and the only use case is SUSE like systems with double request:

%w[ setup.file setup.file ]

does the trick