From 0a64cfb80c4abeb080b60fde0becd16dc3904da2 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Mon, 4 Nov 2019 13:06:06 -0600 Subject: [PATCH] mgr/orchestrator: make wait poll every 1s (not 5s) More responsive! Signed-off-by: Sage Weil --- src/pybind/mgr/orchestrator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pybind/mgr/orchestrator.py b/src/pybind/mgr/orchestrator.py index 4c410c6281e3..4057b2f4e450 100644 --- a/src/pybind/mgr/orchestrator.py +++ b/src/pybind/mgr/orchestrator.py @@ -1066,7 +1066,7 @@ class OrchestratorClientMixin(Orchestrator): self._update_completion_progress(c) while not self.wait(completions): if any(c.should_wait for c in completions): - time.sleep(5) + time.sleep(1) else: break for c in completions: -- 2.47.3