On Monday, 19 October 2009 at 21:16, Jeffrey Ratcliffe wrote:
> On Sat, Oct 17, 2009 at 02:04:19PM +0200, Christian Brabandt wrote:
> > Usually mutt works okay using IMAP over GPRS and header/message caching 
> > enabled. Sometimes it's slow, when the connection has a long delay and 
> > there is no data coming in. I have noticed that a couple of times, when 
> > using mutt in the train and the train was going through a tunnel.
> 
> Thanks for all the suggestions.
> 
> I had header and message caching enabled, and adding imap_idle made no
> difference.
> 
> What I don't understand is why the slowness is per key-press. I was
> expecting to be able to tag/move up and down the index normally, and
> when reading a message or deleting or moving a bunch of messages to
> have to wait. But tag/move is 15-20s per press.

Mutt is polling mailboxes for new mail too frequently. If you run with
-d2 and tail ~/.muttdebug0, you'll see the traffic.

Pressing a key wakes up mutt, and if it's been more than $mail_check
seconds it'll go poll all your mailboxes before doing anything
else. I'd recommend raise mail_check to 120 to poll mailboxes every
two minutes instead of every 5 seconds (the default).

Reply via email to