Re: nntp and nnimap disconnect and take forever when emacs is idle
Alberto Luaces <[email protected]> Wed, 23 Oct 2024 17:10:45 +0200
| Newsgroups | gmane.emacs.gnus.general |
|---|---|
| Message-ID | <[email protected]> |
Bob Newell writes: >> Does anyone else also experience this, when they’ve left their Emacs >> or just gnus idle for sometime, it disconnects from the server, > > What I do is run a 'keepalive' every 5 minutes to quickly poke > the server and maintain the connection. You can do this with > a run-with-timer although I prefer to do it outside of emacs > with a bash script. I do something along those lines with the following in my gnus.el (but it could be anywhere else): (gnus-demon-add-handler 'gnus-demon-scan-news 15 t) -- Alberto