]> git.proxmox.com Git - pve-cluster.git/commitdiff
pmxcfs: do not wait artificially when stopping
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 2 May 2018 08:59:51 +0000 (10:59 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 2 May 2018 12:33:49 +0000 (14:33 +0200)
Most of PVE services profit from an up and running pmxcfs, thus
artificially prolonging its graceful termination is contra
productive.

As everything gets de-initialized nicely and gracefully this should
not be problematic, the restart is not the fastest anyhow anyway.

As this specific line has no git tracking information available
(imported from svn) I could not find if and what the reason for this
was.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
(cherry picked from commit 6994f9b88ecebacd5f8038dcbd0527c6a10d8802)

data/src/pmxcfs.c

index 5547d5d31c927755197972455365b421f242df86..bb5b4ad393e8d837234eab87ecb31de0302f268b 100644 (file)
@@ -1048,7 +1048,6 @@ int main(int argc, char *argv[])
        if (service_status)
                service_dfsm_destroy(service_status);
 
-       sleep(1); /* do not restart too fast */
  ret:
 
        if (status_fsm)