public inbox for pdm-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH datacenter-manager v3 0/2] improvements for ParallelFetcher
@ 2026-03-03  8:13 Lukas Wagner
  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
  0 siblings, 2 replies; 3+ messages in thread
From: Lukas Wagner @ 2026-03-03  8:13 UTC (permalink / raw)
  To: pdm-devel

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




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-03-03  8:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-03-03  8:13 [PATCH datacenter-manager v3 0/2] improvements for ParallelFetcher Lukas Wagner
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

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