pvecm: add comment for why we use 80s timeout

80s is not a nice number in neither binary nor decimal nor time (base
12) number systems, so add a comment for why it was chosen.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2025-06-02 14:48:04 +02:00
parent 1daa93924b
commit e5ec787137

View file

@ -652,7 +652,7 @@ __PACKAGE__->register_method({
# (uninterruptible D state) we could fail the whole service, rendering the API guaranteed
# inaccessible. Let's rather fail small(er) as the API could still work without this..
my ($_res, $got_timeout) = PVE::Tools::run_fork_with_timeout(
80,
80, # cope with slow HW with headroom for manager service 90s start timeout (bz#5510)
sub {
PVE::Cluster::Setup::generate_local_files();