From: Alberto Luaces <aluaces@udc.es>
To: ding@gnus.org
Subject: Re: nntp and nnimap disconnect and take forever when emacs is idle
Date: Wed, 23 Oct 2024 17:10:45 +0200 [thread overview]
Message-ID: <87ttd2onwq.fsf@eps142.cdf.udc.es> (raw)
In-Reply-To: <uLgxVp3baC3.FAaZCocz4lah@hFVQTN1W0.XUx1vjqJc.live>
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
next prev parent reply other threads:[~2024-10-23 15:11 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-22 4:59 Divya Ranjan
2024-10-22 7:44 ` NNTP Surfer
2024-10-24 8:03 ` Gijs Hillenius
2024-10-24 9:20 ` NNTP Surfer
2024-10-24 10:34 ` Gijs Hillenius
2024-10-22 7:57 ` Stephen Berman
2024-10-22 19:07 ` Jakub Ječmínek
2024-10-23 11:50 ` Gijs Hillenius
2024-10-23 11:57 ` Gijs Hillenius
2024-10-23 3:27 ` Bob Newell
2024-10-23 15:10 ` Alberto Luaces [this message]
2024-10-26 22:53 ` James Thomas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ttd2onwq.fsf@eps142.cdf.udc.es \
--to=aluaces@udc.es \
--cc=ding@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).