]> git.proxmox.com Git - pve-cluster.git/commitdiff
pmxcfs: do not wait artificially when stopping
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 22 Dec 2017 13:34:31 +0000 (14:34 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 28 Dec 2017 09:39:12 +0000 (10:39 +0100)
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>
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)