> diff --git a/src/PVE/HA/LRM.pm b/src/PVE/HA/LRM.pm
> index f53f26d..f0e7977 100644
> --- a/src/PVE/HA/LRM.pm
> +++ b/src/PVE/HA/LRM.pm
> @@ -31,6 +31,8 @@ sub new {
>       workers => {},
>       results => {},
>       restart_tries => {},
> +     # store finished jobs UID so we don't exec the same twice
> +     processed_uids => {},

I would prefer to use the 'results' hash instead of processed_uids - seems
redundant to me?

_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to