mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-08 00:04:14 +00:00
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:
parent
49652c466f
commit
8e4bee65a3
@ -2054,6 +2054,7 @@ __PACKAGE__->register_method ({
|
|||||||
}
|
}
|
||||||
while (scalar(keys %$workers)) {
|
while (scalar(keys %$workers)) {
|
||||||
foreach my $p (keys %$workers) {
|
foreach my $p (keys %$workers) {
|
||||||
|
# FIXME: what about PID re-use ?!?!
|
||||||
if (!PVE::ProcFSTools::check_process_running($p)) {
|
if (!PVE::ProcFSTools::check_process_running($p)) {
|
||||||
delete $workers->{$p};
|
delete $workers->{$p};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user