From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id iPjzIXUnVmEgRAEAgWs5BA (envelope-from ) for ; Thu, 30 Sep 2021 23:09:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id gM6xHXUnVmHlSAAA1q6Kng (envelope-from ) for ; Thu, 30 Sep 2021 21:09:09 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4C0BB2B7A7 for ; Thu, 30 Sep 2021 23:09:07 +0200 (CEST) Received: from localhost ([::1]:39812 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mW3Ig-0006wk-9g for larch@yhetil.org; Thu, 30 Sep 2021 17:09:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34164) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mW3Fi-0000oN-L2 for guix-patches@gnu.org; Thu, 30 Sep 2021 17:06:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42613) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mW3Fi-0006Uj-8o for guix-patches@gnu.org; Thu, 30 Sep 2021 17:06:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mW3Fi-0006Ds-1t for guix-patches@gnu.org; Thu, 30 Sep 2021 17:06:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50634] [PATCH] progress: Rate limit drawing in the progress-reporter/bar. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 30 Sep 2021 21:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50634 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Christopher Baines Cc: 50634@debbugs.gnu.org Received: via spool by 50634-submit@debbugs.gnu.org id=B50634.163303594923899 (code B ref 50634); Thu, 30 Sep 2021 21:06:02 +0000 Received: (at 50634) by debbugs.gnu.org; 30 Sep 2021 21:05:49 +0000 Received: from localhost ([127.0.0.1]:54159 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mW3FU-0006DP-Sz for submit@debbugs.gnu.org; Thu, 30 Sep 2021 17:05:49 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57158) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mW3FU-0006DE-4a for 50634@debbugs.gnu.org; Thu, 30 Sep 2021 17:05:48 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:60112) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mW3FL-0006EV-Tx; Thu, 30 Sep 2021 17:05:41 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=36448 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mW3Ey-0004We-AD; Thu, 30 Sep 2021 17:05:39 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20210917101556.13071-1-mail@cbaines.net> Date: Thu, 30 Sep 2021 23:05:10 +0200 In-Reply-To: <20210917101556.13071-1-mail@cbaines.net> (Christopher Baines's message of "Fri, 17 Sep 2021 11:15:56 +0100") Message-ID: <87y27d22rd.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1633036147; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=sU7ZBlSSzT+biGKI/2uyv4Hc14HoMA03pKESfcaBHCg=; b=L226T5RDOK3GD1Q+tfbtffSm5BF5IpjIJ0mznJua3NQSTaUIpy9AANuOWT/EClG3MAjbog 9UYa00ws4jSzAEC7uuZHSJIgXDL6t+L/Zl+fAZXdRTBDfije78uTQUSzCMYAjnHi8HTVmo SH1AZPQYt6DY3r5MOZbejccuxRLl6o+2BtvLow8BH6L5kL9iWI605JnPDsYD1BLvd2z5fI AlWNW7QWd0C4cZUJD23BgsupZoCRdBtx0kjQ7Y+u2OGsYVel2yQN38VT8LBQwwRKz+qYQk AAf5FkwqNYtizGDWy0CF62gZcL6Je5oZJLmSHWjVx3QSdd/jkqKWVAnDS96KXQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633036147; a=rsa-sha256; cv=none; b=aQdGensTcAtaVlL7hJBFqJdVydYIXcFzj8TV3GWQlpTWUUIowbkYcOlSgqvmRyP2Qj4fRe axk8YDm0lM7603gml5gGC/tu2NepB4lkExa2B6/a5vHjYAZlEP5NsaHdAb5V/17RJwxmwk 6SMpfhCKSdqqtxBzPPxARIV8+NwfX0tpEWk2ESwGjr+/ejB8xmi5+QVJJbxk0Ym6JMeS2/ Q9FtJhWtVxpPu1y7Cw8C3rqWMqeRokyiG0zJbmTMWYYvR+cdBpgL+V6zX3NPv9UPUAhw1I 2C0wxRELBt/9xA4342V67q/ua8ypcgAcj+2QiRODOvJBfypHbpXBlgC5Qpz9NA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -3.70 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 4C0BB2B7A7 X-Spam-Score: -3.70 X-Migadu-Scanner: scn1.migadu.com X-TUID: K2MHVgWdPq5U Hi Christopher, Christopher Baines skribis: > This helps smooth the output in cases where the bar is updated very quick= ly, > for example in guix weather where it's computing derivations. > > * guix/progress.scm (progress-reporter/bar): Wrap the drawing code with t= he > rate-limited procedure. I hit that problem quite frequently lately in shell-mode so I=E2=80=99m gra= teful you fixed it. Go for it! Thanks, Ludo=E2=80=99.