From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.devel Subject: Re: Cleaning up rcirc Date: Tue, 21 Sep 2021 20:52:33 +0200 Message-ID: <878rzprb8h.fsf@gnu.org> References: <875yv7dqw7.fsf@posteo.net> <87mtojnjey.fsf@gnu.org> <87y283c88w.fsf@posteo.net> <87ilz7neop.fsf@gnu.org> <87pmtedg57.fsf@posteo.net> <8735qaq0be.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11413"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.6.6; emacs 28.0.50 Cc: emacs-devel@gnu.org To: Philip Kaludercic Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Sep 21 21:18:08 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mSlHM-0002mI-1s for ged-emacs-devel@m.gmane-mx.org; Tue, 21 Sep 2021 21:18:08 +0200 Original-Received: from localhost ([::1]:38502 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mSlHK-0004Iw-GZ for ged-emacs-devel@m.gmane-mx.org; Tue, 21 Sep 2021 15:18:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33094) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mSlF7-00033x-Lm for emacs-devel@gnu.org; Tue, 21 Sep 2021 15:15:49 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:36628) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mSlF6-0004pe-Ai; Tue, 21 Sep 2021 15:15:49 -0400 Original-Received: from auth2-smtp.messagingengine.com ([66.111.4.228]:60403) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mSlF5-0004Qg-Rr; Tue, 21 Sep 2021 15:15:48 -0400 Original-Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailauth.nyi.internal (Postfix) with ESMTP id 5144827C0054; Tue, 21 Sep 2021 15:15:47 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Tue, 21 Sep 2021 15:15:47 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudeigedgudefhecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpehffgfhvffuffgjkfggtgesthdtredttdertdenucfhrhhomhepvfgrshhs ihhlohcujfhorhhnuceothhsughhsehgnhhurdhorhhgqeenucggtffrrghtthgvrhhnpe eggeeuteeiudelgfehtdejvefhgeevheehtdfgtddvieevteevfeeutdevveelhfenucff ohhmrghinhepghhithhtvghrrdhimhenucevlhhushhtvghrufhiiigvpedtnecurfgrrh grmhepmhgrihhlfhhrohhmpehthhhorhhnodhmvghsmhhtphgruhhthhhpvghrshhonhgr lhhithihqdekieejfeekjeekgedqieefhedvleekqdhtshguhheppehgnhhurdhorhhgse hfrghsthhmrghilhdrfhhm X-ME-Proxy: Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 21 Sep 2021 15:15:46 -0400 (EDT) In-reply-to: <8735qaq0be.fsf@gnu.org> X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:275263 Archived-At: Tassilo Horn writes: Hi Philip, > AFAICS, auto-reconnect is triggered when the process sentinel for a > server receives "deleted\n" but it's only tried once, right? I think > it would make sense to run reconnect from a timer trying again every > `rcirc-reconnect-delay' seconds (probably with a minimum of 10 seconds > or so) because if something's wrong (broken connection) it might take > a bit longer before reconnect will work. I can report that with your new option and (setq rcirc-reconnect-delay 10 rcirc-reconnect-attempts 10) rcirc successfully reconnected to libera.chat when they had to restart all services after a system upgrade. However, irc.gitter.im again broke at some point in time and did not reconnect. In the server buffer, there's just 01:23 !!! irc.gitter.im: connection broken by remote peer (closed) A manual /reconnect worked fine. Bye, Tassilo