Max_jobs 40 prevent packer from hanging on macOS
luxus opened this issue · 4 comments
luxus commented
for whatever reason packer struggle to download all plugins and stuck while downloading
max_jobs = nil, -- Limit the number of simultaneous jobs. nil means no limit
reo101 commented
I actually have this changed for my Mac locally but haven't gotten around to upstreaming it, thanks :D
luxus commented
i found the real solution btw.
https://stackoverflow.com/questions/25385934/setting-environment-variables-via-launchd-conf-no-longer-works-in-os-x-yosemite
and
adding ulimit -n 10240
luxus commented
do you plan any updates? i tried ur config but gave up because of too many errors :D
reo101 commented
I think I'll leave it at that. This way the setup doesn't assume anything about the host system and works anywhere. (I also really dislike running system commands from configs)