From 467a23c0209ad158674f9760c9b74dbad7c411c8 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 6 Feb 2022 02:51:46 +0100 Subject: [PATCH] tweak(org): org-roam-db-gc-threshold = most-positive-fixnum To reduce GC consing while syncing the DB. --- modules/lang/org/contrib/roam2.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/lang/org/contrib/roam2.el b/modules/lang/org/contrib/roam2.el index 7d027b81d..a232d4924 100644 --- a/modules/lang/org/contrib/roam2.el +++ b/modules/lang/org/contrib/roam2.el @@ -79,7 +79,8 @@ In case of failure, fail gracefully." org-roam-completion-everywhere t org-roam-mode-section-functions #'(org-roam-backlinks-section - org-roam-reflinks-section)) + org-roam-reflinks-section) + org-roam-db-gc-threshold most-positive-fixnum) (setq-hook! 'org-roam-find-file-hook org-id-link-to-org-use-id +org-roam-link-to-org-use-id)