[pve-devel] [PATCH cluster 2/3] pmxcfs: do not wait artificially when stopping
Thomas Lamprecht
t.lamprecht at proxmox.com
Wed Dec 20 12:00:38 CET 2017
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 at proxmox.com>
---
data/src/pmxcfs.c | 1 -
1 file changed, 1 deletion(-)
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)
--
2.11.0
More information about the pve-devel
mailing list