From: Sage Weil Date: Mon, 4 Nov 2019 19:06:06 +0000 (-0600) Subject: mgr/orchestrator: make wait poll every 1s (not 5s) X-Git-Tag: v15.1.0~1020^2~8 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=0a64cfb80c4abeb080b60fde0becd16dc3904da2;p=ceph.git mgr/orchestrator: make wait poll every 1s (not 5s) More responsive! Signed-off-by: Sage Weil --- 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: