pvecm: increase certificate generation timeout (#5510)
This should fix pveproxy.service on slow hardware. Bug: https://bugzilla.proxmox.com/show_bug.cgi?id=5510 Signed-off-by: Louis Sautier <sautier.louis@gmail.com>
This commit is contained in:
parent
a042611c9d
commit
9714b9038a
1 changed files with 1 additions and 1 deletions
|
|
@ -593,7 +593,7 @@ __PACKAGE__->register_method ({
|
|||
# pveproxy's ExecStartPre calls this, and as we do IO (on /etc/pve) that can hang
|
||||
# (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(30, sub {
|
||||
my ($_res, $got_timeout) = PVE::Tools::run_fork_with_timeout(80, sub {
|
||||
PVE::Cluster::Setup::generate_local_files();
|
||||
|
||||
for (my $i = 0; !PVE::Cluster::check_cfs_quorum(1); $i++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue