api/bulk migrate: add comment regarding PID re-used

this needs to be fixed, maybe with pidfd's...

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2019-11-30 17:06:00 +01:00
parent 49652c466f
commit 8e4bee65a3

View File

@ -2054,6 +2054,7 @@ __PACKAGE__->register_method ({
}
while (scalar(keys %$workers)) {
foreach my $p (keys %$workers) {
# FIXME: what about PID re-use ?!?!
if (!PVE::ProcFSTools::check_process_running($p)) {
delete $workers->{$p};
}