fix(packer): increase clone timeout in headless (#3470)

* fix(packer): increase clone timeout in headless

* refactor: set timeout to 300

Co-authored-by: kylo252 <59826753+kylo252@users.noreply.github.com>

Co-authored-by: kylo252 <59826753+kylo252@users.noreply.github.com>
This commit is contained in:
LostNeophyte 2022-11-13 17:40:16 +01:00 committed by GitHub
parent f08a997209
commit 5fb3f07c7b
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,6 +39,7 @@ function plugin_loader.init(opts)
if in_headless then
init_opts.display = nil
init_opts.git.clone_timeout = 300
end
if not utils.is_directory(install_path) then