From: Peter Graves <peter@ar...> - 2002-06-24 15:14:35
This morning's development snapshot is up:
Starting with this snapshot, j no longer calls ImapSession.logout()
after the CheckMailTask checks for new mail. This means that the
connection to the server is kept alive, other things being equal, and
subsequent interactive IMAP operations are less likely to require
reconnecting (which is relatively quick) or reselecting the mailbox
(which can be quite slow).
Maybe this should be configurable ("imapKeepConnection") so that
things would work a bit better in the arguably pathological case of
running two (or more) instances of j on separate machines, checking
the same mailboxes. Or possibly even better, close the connection
after the CheckMailTask runs if there has been no activity (other than
the CheckMailTask) for a long time...
Get latest updates about Open Source Projects, Conferences and News.