Gnus development mailing list
 help / color / mirror / Atom feed
From: NNTP Surfer <nntpsurfer@op.pl>
To: ding@gnus.org
Subject: Re: nntp and nnimap disconnect and take forever when emacs is idle
Date: Tue, 22 Oct 2024 03:44:20 -0400	[thread overview]
Message-ID: <87ldygwpij.fsf@its.a.fake> (raw)
In-Reply-To: <87froospgn.fsf@subvertising.org>

Divya Ranjan <divya@subvertising.org> 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



  reply	other threads:[~2024-10-23 18:36 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 [this message]
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
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=87ldygwpij.fsf@its.a.fake \
    --to=nntpsurfer@op.pl \
    --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).