Subject: bug#63842: 30.0.50; Slow 'gnus-summary-refer-thread'

From: Manuel Giraud <[email-masked]>
Date: Fri, 02 Jun 2023 17:26:37 +0200

Hi,

FWIW, the attached patch fixes the issue for me.
-- 
Manuel Giraud
>From 4242e4f5a828af94036c3d4f6e21726dbff4dc48 Mon Sep 17 00:00:00 2001
From: Manuel Giraud <[email-masked]>
Date: Fri, 2 Jun 2023 17:23:15 +0200
Subject: [PATCH] Fix 'gnus-summary-refer-thread' slowness

---
 lisp/gnus/gnus-sum.el | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el
index 4effaa981ec..725f5a1a5c9 100644
--- a/lisp/gnus/gnus-sum.el
+++ b/lisp/gnus/gnus-sum.el
@@ -9029,7 +9029,6 @@ gnus-summary-refer-thread
          (id (mail-header-id header))
          (gnus-inhibit-demon t)
          (gnus-summary-ignore-duplicates t)
-         (gnus-read-all-available-headers t)
          (gnus-refer-thread-use-search
           (if (or (null limit) (numberp limit))
               gnus-refer-thread-use-search
-- 
2.40.0