[pdm-devel] [PATCH datacenter-manager 2/9] server: task cache: skip remotes with errors on fetch
Dietmar Maurer
dietmar at proxmox.com
Tue Jan 21 09:29:17 CET 2025
> > - let tasks = fetch_tasks(remote).await?;
> > + let tasks = match fetch_tasks(remote).await {
> > + Ok(tasks) => tasks,
> > + Err(err) => {
> > + // ignore errors for not reachable remotes
>
> Even if it's now the case, it's not hard-coded for the future that an
> error here will always stem from an unreachable remote; at least
> logging that as warning might be good to allow debugging odd things
> in a setup.
Agreed. The problem is that it generate to much logs, so IMHO we need some special code to avoid frequent logging of the same message...
More information about the pdm-devel
mailing list