From f7ad520ee0b45c8601f10930a4866c1e675ee846 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 7 Sep 2018 21:53:30 -0400 Subject: [PATCH] doom update: prevent GC in async instances Offers a marginal improved to outdated check times. --- core/autoload/packages.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/autoload/packages.el b/core/autoload/packages.el index 94b2d4e1b..721e6ccdb 100644 --- a/core/autoload/packages.el +++ b/core/autoload/packages.el @@ -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)