From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: chad Newsgroups: gmane.emacs.devel Subject: Re: Cleaning up rcirc Date: Mon, 13 Sep 2021 15:59:59 -0700 Message-ID: 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: multipart/alternative; boundary="00000000000065a81505cbe86d37" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10989"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Philip Kaludercic , EMACS development team To: Tassilo Horn Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Sep 14 01:02:00 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 1mPuxc-0002dQ-Jc for ged-emacs-devel@m.gmane-mx.org; Tue, 14 Sep 2021 01:02:00 +0200 Original-Received: from localhost ([::1]:36952 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mPuxb-00005l-2Z for ged-emacs-devel@m.gmane-mx.org; Mon, 13 Sep 2021 19:01:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43478) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mPuvw-0007fC-Nq for emacs-devel@gnu.org; Mon, 13 Sep 2021 19:00:22 -0400 Original-Received: from mail-lf1-x131.google.com ([2a00:1450:4864:20::131]:42944) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mPuvu-0008Fn-Kr; Mon, 13 Sep 2021 19:00:16 -0400 Original-Received: by mail-lf1-x131.google.com with SMTP id bq5so24398372lfb.9; Mon, 13 Sep 2021 16:00:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7/780KZDko5B5jr4rKfzN0hHYCiZiXTuXdAKDkhlq7U=; b=ifcVUGnjhyFSGe++1RPGFr0xpE/oGY7U4i0UyLOw//BdmiuAEmhSyQdNnKIQa9fE8X FaqUC9txt6FrwrDhqACabeEf3OozN2sPqfjoy9oieOao1+MYJo3C9iVonHRlfbk2Ia7Y rubmY020HI9rS8z8Un8DKcYswFHJ4a/V7TY2CzLB70I8XgNliOXMtX+LfIRdTto2mKD6 aENSODj2us7pFdIMEI/FtBAH3kp9X220/R3agPLGvVsa7drPjBqS7ByLuaFKoZy8K8dr mnv5fFDRiCarwjyekNffYI6wb0XxgzbwBnNkCkFxsRNdndLJglylYU3v5R30tTt9VG+Z bAVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7/780KZDko5B5jr4rKfzN0hHYCiZiXTuXdAKDkhlq7U=; b=EXL0BXTVsDlc/0P7wk1tDflq50oYl7VMvOV2bxjDcYeiR6bSJ7dWh7F4XVk+gT10GN y5Ar4mcGr4kFrqamkxxgHlEt9jFo9ABR+qnEdG0IDYpPwbt8PKWaXOJhhVs+mBiznu/d yETbGzvd1z/oI9Z8MZx+MH3cMJBlfWjt5XVIAQ+R4RKGAav2g7NhTda9C4C+I/nHhcnE ORGo1BzY3bZF5rYNA6ovdTmU553BVj6NJrbaTovEgBDLvDxs94yy/d1skovW3rOR89Fs WD9s7e4oM6dJCOQ/rARTmrKWpe8p+bryPHoDGQMuqSLmpV9iWmZKpju2qiZmdONJmmo5 PrNw== X-Gm-Message-State: AOAM530UhkmF0qs21nJhiZ5jw8CAM3PulLRt0pPV4zrogC3oFPhKZCUV kNnla1vuJNbbxvg6Q9nv3HS2R2kZSHq9f4GF4ElLoO6o X-Google-Smtp-Source: ABdhPJzeoeU2fXoqyMnVPfg2Vx4+l36WPNYAL9KQGABtxzSB+e+tffnICK/zyK+f2bP6Ew7hT6/xRMidhJQMmSexVUM= X-Received: by 2002:a05:6512:baa:: with SMTP id b42mr10913809lfv.50.1631574011781; Mon, 13 Sep 2021 16:00:11 -0700 (PDT) In-Reply-To: <8735qaq0be.fsf@gnu.org> Received-SPF: pass client-ip=2a00:1450:4864:20::131; envelope-from=yandros@gmail.com; helo=mail-lf1-x131.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:274676 Archived-At: --00000000000065a81505cbe86d37 Content-Type: text/plain; charset="UTF-8" Please forgive the sniping from the shadows, but this triggered a past-self: On Sat, Sep 11, 2021 at 2:17 PM Tassilo Horn wrote: > 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. > Whenever one (re-)connected, exponential back-off is your friend. In emacs, it's probably as easy as adding "(* 2" and ")" in the right place. ~Chad --00000000000065a81505cbe86d37 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Please forgive the sniping from the shado= ws, but this triggered a past-self:

On Sat, Sep 11, 2021 at 2:17 PM Tassilo = Horn <tsdh@gnu.org> wrote:
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<= br> or so) because if something's wrong (broken connection) it might take a=
bit longer before reconnect will work.

= Whenever one (re-)connected, exponential back-off is your friend. In emacs,= it's probably as easy as adding "(* 2" and ")" in = the right place.

~Chad
--00000000000065a81505cbe86d37--