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

Divya Ranjan <[email protected]> Thu, 24 Oct 2024 20:53:34 +0000
Newsgroups gmane.emacs.gnus.general
Message-ID <[email protected]>
NNTP Surfer <[email protected]> writes:

> 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

Thank you for this, it seems to have fixed it for nntp connections, but what about nnimap?

-- 
Divya Ranjan,
Philosophy, Mathematics, Libre Software.