doom update: prevent GC in async instances

Offers a marginal improved to outdated check times.
This commit is contained in:
Henrik Lissner 2018-09-07 21:53:30 -04:00
parent 309fd767d6
commit f7ad520ee0
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -281,7 +281,8 @@ Used by `doom-packages-update'."
(message "New thread for: %s" pkg))
(push (async-start
`(lambda ()
(let ((doom-init-p t)
(let ((gc-cons-threshold ,doom-gc-cons-upper-limit)
(doom-init-p t)
(noninteractive t)
(load-path ',load-path)
(package-alist ',package-alist)