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: Sat, 11 Sep 2021 23:01:36 +0200 Message-ID: <8735qaq0be.fsf@gnu.org> References: <875yv7dqw7.fsf@posteo.net> <87mtojnjey.fsf@gnu.org> <87y283c88w.fsf@posteo.net> <87ilz7neop.fsf@gnu.org> <87pmtedg57.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16924"; 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 Sat Sep 11 23: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 1mPAO0-0004EM-97 for ged-emacs-devel@m.gmane-mx.org; Sat, 11 Sep 2021 23:18:08 +0200 Original-Received: from localhost ([::1]:45198 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mPANz-00071P-2a for ged-emacs-devel@m.gmane-mx.org; Sat, 11 Sep 2021 17:18:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35962) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mPANP-0006NC-Vr for emacs-devel@gnu.org; Sat, 11 Sep 2021 17:17:32 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:43216) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mPANO-0001Pz-GQ; Sat, 11 Sep 2021 17:17:30 -0400 Original-Received: from auth1-smtp.messagingengine.com ([66.111.4.227]:44493) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mPANO-00058R-Cu; Sat, 11 Sep 2021 17:17:30 -0400 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailauth.nyi.internal (Postfix) with ESMTP id A348127C0054; Sat, 11 Sep 2021 17:17:29 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Sat, 11 Sep 2021 17:17:29 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudegfedgudehkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpehffgfhvffuffgjkfggtgesthdtredttdertdenucfhrhhomhepvfgrshhs ihhlohcujfhorhhnuceothhsughhsehgnhhurdhorhhgqeenucggtffrrghtthgvrhhnpe eggeeuteeiudelgfehtdejvefhgeevheehtdfgtddvieevteevfeeutdevveelhfenucff ohhmrghinhepghhithhtvghrrdhimhenucevlhhushhtvghrufhiiigvpedtnecurfgrrh grmhepmhgrihhlfhhrohhmpehthhhorhhnodhmvghsmhhtphgruhhthhhpvghrshhonhgr lhhithihqdekieejfeekjeekgedqieefhedvleekqdhtshguhheppehgnhhurdhorhhgse hfrghsthhmrghilhdrfhhm X-ME-Proxy: Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 11 Sep 2021 17:17:28 -0400 (EDT) In-reply-to: <87pmtedg57.fsf@posteo.net> 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:274571 Archived-At: Philip Kaludercic writes: >>> I am not sure if you've tried out the recent changes, including >>> asynchronous connecting and reconnecting -- this is what I am >>> worrying about the most. It seems to be working, and I have tried a >>> few edge cases, but there might be some other situation that break >>> in ways I didn't expect. >> >> Is there something I can test explicitly? FWIW, I'm also connected >> to irc.gitter.im which happens to become disconnected quite often >> (meaning every few days). > > Nothing in particular, the intention is that asynchronous connecting > should just be an improvement that doesn't break any workflow. Ok, I've seen to failures so far. However, I think auto-reconnect has never worked for me. Or maybe it just didn't always work. (I guess whenever it worked I haven't noticed it.) 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. Bye, Tassilo