From: Thomas Lamprecht Date: Wed, 2 May 2018 08:59:51 +0000 (+0200) Subject: pmxcfs: do not wait artificially when stopping X-Git-Url: https://git.proxmox.com/?p=pve-cluster.git;a=commitdiff_plain;h=8a48e7a54b6a064276121176d9de5a9b4754a893 pmxcfs: do not wait artificially when stopping 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 (cherry picked from commit 6994f9b88ecebacd5f8038dcbd0527c6a10d8802) --- diff --git a/data/src/pmxcfs.c b/data/src/pmxcfs.c index 5547d5d..bb5b4ad 100644 --- a/data/src/pmxcfs.c +++ b/data/src/pmxcfs.c @@ -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)