Re: nntp and nnimap disconnect and take forever when emacs is idle

NNTP Surfer <[email protected]> Tue, 22 Oct 2024 03:44:20 -0400
Newsgroups gmane.emacs.gnus.general
Message-ID <[email protected]>
Divya Ranjan <[email protected]> writes:

> Does anyone else also experience this, when they’ve left their Emacs
> or just gnus idle for sometime, it disconnects from the server,

Had the same thing. Just set low connection timeout to quickly renew
connections:

#begin_src emacs-lisp
gnus-select-method '(nntp "xxx"
                    (nntp-open-connection-function nntp-open-tls-stream)
                    (nntp-port-number 563)
                    (nntp-address "xxx")
                    (nntp-connection-timeout 5))
#end_src