diff options
author | Eric Abrahamsen <eric@ericabrahamsen.net> | 2021-05-03 09:14:24 -0700 |
---|---|---|
committer | Eric Abrahamsen <eric@ericabrahamsen.net> | 2021-05-04 16:34:29 -0700 |
commit | aeada12ebb1bf431af6f2b35424d732b632f305e (patch) | |
tree | 9ad0fca722914fa43927ecdd610fe33c666e0cf6 /doc/misc/gnus.texi | |
parent | 3783e7fb4dbf4ed9620d6e3d54ef3462331e6660 (diff) | |
download | emacs-aeada12ebb1bf431af6f2b35424d732b632f305e.tar.gz |
Add new defvoo nnimap-keepalive-intervals to Gnus nnimap servers
* lisp/gnus/nnimap.el (nnimap-keepalive-intervals): New per-server
config for customizing when keepalive commands are sent.
(nnimap-keepalive, nnimap-open-connection-1): Consult in these
places. Additionally, use nnimap-streaming -> t when sending the
keepalive NOOP, so we don't wait for the response.
* doc/misc/gnus.texi (Customizing the IMAP Connection): Document.
Diffstat (limited to 'doc/misc/gnus.texi')
-rw-r--r-- | doc/misc/gnus.texi | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/misc/gnus.texi b/doc/misc/gnus.texi index 869bb272664..a31411ef8e8 100644 --- a/doc/misc/gnus.texi +++ b/doc/misc/gnus.texi @@ -14515,6 +14515,17 @@ names. If your IMAP mailboxes are called something like @samp{INBOX} and @samp{INBOX.Lists.emacs}, but you'd like the nnimap group names to be @samp{INBOX} and @samp{Lists.emacs}, you should enable this option. +@item nnimap-keepalive-intervals +By default, nnimap will send occasional @samp{NOOP} (keepalive) +commands to the server, to keep the connection alive. This option +governs how often that happens. It is a cons of two integers, +representing seconds: first how often to run the keepalive check, and +the second how many seconds of user inactivity are required to +actually send the command. The default, @code{(900 . 300)}, means run +the check every fifteen minutes and, if the user has been inactive for +five minutes, send the keepalive command. Set to @code{nil} to +disable keepalive commands altogether. + @end table |