From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id A14A01FF186 for ; Fri, 29 Aug 2025 15:30:16 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 209E62F233; Fri, 29 Aug 2025 15:30:27 +0200 (CEST) Mime-Version: 1.0 Date: Fri, 29 Aug 2025 15:29:54 +0200 Message-Id: From: "Lukas Wagner" To: "Proxmox Datacenter Manager development discussion" Cc: "pdm-devel" X-Mailer: aerc 0.20.1-0-g2ecb8770224a References: <20250829123330.184123-1-s.hanreich@proxmox.com> In-Reply-To: <20250829123330.184123-1-s.hanreich@proxmox.com> X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1756474186076 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.027 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: Re: [pdm-devel] [RFC proxmox-datacenter-manager 0/2] Add a helper for fetching from multiple remotes once X-BeenThere: pdm-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Datacenter Manager development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox Datacenter Manager development discussion Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: pdm-devel-bounces@lists.proxmox.com Sender: "pdm-devel" On Fri Aug 29, 2025 at 2:33 PM CEST, Stefan Hanreich wrote: > Based on Lukas' patch series, introduce a second helper that executes a given > callback once per remote instead of once per (remote, node) combination. It uses > the existing facilities where possible and factors out some common code into > helpers that can be used by both implementations. > > proxmox-datacenter-manager: > > Stefan Hanreich (2): > server: add helper for fetching results from one node per remote > server: parallel fetcher: refactor: use helpers for common operations > > server/src/parallel_fetcher.rs | 144 ++++++++++++++++++++++++++++++--- > 1 file changed, 133 insertions(+), 11 deletions(-) > > > Summary over all repositories: > 1 files changed, 133 insertions(+), 11 deletions(-) Just for the record, I will adopt these changes in my patch series which introduced the helper; I will post a v2 soonish which also includes some improvements to these changes we discussed off-list. _______________________________________________ pdm-devel mailing list pdm-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pdm-devel