Gnus development mailing list
 help / color / mirror / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: ding@gnus.org
Subject: Hairy select changes ohoy
Date: Tue, 21 Sep 2010 22:46:51 +0200	[thread overview]
Message-ID: <m3d3s6g6ys.fsf@quimbies.gnus.org> (raw)

I've had to rework the thing that tries to uniquify the servers a bit.
It's hairy, hairy code, and I'm not all that comfortable tampering with
it, but it has to be done.

The upshot of it all is that if you have, say, 100 groups where the
first has this method:

(nnfolder "archive" (nnfolder-expire t))

and 99 groups with this method:

(nnfolder "archive" (nnfolder-expire nil))

then Gnus would create 100 different select methods, and call
*-request-open on each server.  This is most dramatic with nnimap
servers, where you get 100 tls connections set up, which takes...  a
while.

The change I've done tries to do the logical thing -- create two
servers.  This works for me in my test cases, but...

Give it a whirl.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




                 reply	other threads:[~2010-09-21 20:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3d3s6g6ys.fsf@quimbies.gnus.org \
    --to=larsi@gnus.org \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).