From: Sage Weil Date: Thu, 16 Aug 2018 15:59:06 +0000 (-0500) Subject: mgr/devicehealth: 10m wakeup interval is sufficient X-Git-Tag: v14.0.1~451^2~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=cce1ce9530db9c4eee35579f0a4ee0b9b1fd2d7f;p=ceph.git mgr/devicehealth: 10m wakeup interval is sufficient We are scraping daily, so 10m is plenty often. The life expectancy for devices is also rarely updated, and anyone who does update it can explicitly 'ceph device check-health' afterwards if they want a quick response. Signed-off-by: Sage Weil --- diff --git a/src/pybind/mgr/devicehealth/module.py b/src/pybind/mgr/devicehealth/module.py index f75969b96ba..937cab3d66d 100644 --- a/src/pybind/mgr/devicehealth/module.py +++ b/src/pybind/mgr/devicehealth/module.py @@ -21,7 +21,7 @@ DEFAULTS = { 'mark_out_threshold': str(86400*14), 'warn_threshold': str(86400*14*2), 'self_heal': str(True), - 'sleep_interval': str(60), + 'sleep_interval': str(600), } DEVICE_HEALTH = 'DEVICE_HEALTH'