]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/devicehealth: 10m wakeup interval is sufficient
authorSage Weil <sage@redhat.com>
Thu, 16 Aug 2018 15:59:06 +0000 (10:59 -0500)
committerSage Weil <sage@redhat.com>
Sun, 26 Aug 2018 20:28:07 +0000 (15:28 -0500)
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 <sage@redhat.com>
src/pybind/mgr/devicehealth/module.py

index f75969b96bab5b7bcb8ab9534eb3eba6fd386351..937cab3d66d2ff0a6cffbc8f213f9c01dc7bc8e6 100644 (file)
@@ -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'