public inbox for pdm-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Lukas Wagner <l.wagner@proxmox.com>
To: pdm-devel@lists.proxmox.com
Subject: [PATCH datacenter-manager v3 0/2] improvements for ParallelFetcher
Date: Tue,  3 Mar 2026 09:13:54 +0100	[thread overview]
Message-ID: <20260303081356.91436-1-l.wagner@proxmox.com> (raw)

A couple of improvents for the parallel_fetcher module:
  - inherit log context so that logging in worker tasks works
  - response type improvements, better ergonomics for callers
  - documentation

Changes since v1:
  - Change type names from *Outcome to *Response

Changes since v2:
 - Add into_nodes and into_remote_and_nodes for RemoteResponse<Multi...>
   so that we can avoid copying the result data in one caller

 - in RemoteResponse::nodes(), return a slice instead of a &Vec

 - fix typo in type name, Reponse -> Response (whoops)


proxmox-datacenter-manager:

Lukas Wagner (2):
  parallel fetcher: improve result type ergonomics
  parallel fetcher: add module documentation

 server/src/api/pve/firewall.rs                |  53 +--
 server/src/api/sdn/controllers.rs             |  38 +-
 server/src/api/sdn/vnets.rs                   |  35 +-
 server/src/api/sdn/zones.rs                   |  35 +-
 .../tasks/remote_tasks.rs                     |  28 +-
 server/src/parallel_fetcher.rs                | 349 ++++++++++++++----
 server/src/remote_updates.rs                  |  36 +-
 7 files changed, 352 insertions(+), 222 deletions(-)


Summary over all repositories:
  7 files changed, 352 insertions(+), 222 deletions(-)

-- 
Generated by murpp 0.9.0




             reply	other threads:[~2026-03-03  8:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-03  8:13 Lukas Wagner [this message]
2026-03-03  8:13 ` [PATCH datacenter-manager v3 1/2] parallel fetcher: improve result type ergonomics Lukas Wagner
2026-03-03  8:13 ` [PATCH datacenter-manager v3 2/2] parallel fetcher: add module documentation Lukas Wagner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260303081356.91436-1-l.wagner@proxmox.com \
    --to=l.wagner@proxmox.com \
    --cc=pdm-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal