From: Sage Weil Date: Tue, 6 Oct 2015 19:35:58 +0000 (-0400) Subject: mon: set mon_subscribe_interval to a day X-Git-Tag: v10.0.1~26^2~27 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6557b76f845d8f235259a8f23c4d3dbcd228343f;p=ceph.git mon: set mon_subscribe_interval to a day This is only needed for legacy clients to avoid confusing them-- we don't actually need the renewals at all. Make them infrequent to reduce mon load. Signed-off-by: Sage Weil --- diff --git a/src/common/config_opts.h b/src/common/config_opts.h index f8c9b0d7928a..2a2d28d50f64 100644 --- a/src/common/config_opts.h +++ b/src/common/config_opts.h @@ -195,7 +195,7 @@ OPTION(mon_osd_cache_size, OPT_INT, 10) // the size of osdmaps cache, not to re OPTION(mon_tick_interval, OPT_INT, 5) OPTION(mon_session_timeout, OPT_INT, 300) // must send keepalive or subscribe -OPTION(mon_subscribe_interval, OPT_DOUBLE, 300) +OPTION(mon_subscribe_interval, OPT_DOUBLE, 24*3600) // for legacy clients only OPTION(mon_delta_reset_interval, OPT_DOUBLE, 10) // seconds of inactivity before we reset the pg delta to 0 OPTION(mon_osd_laggy_halflife, OPT_INT, 60*60) // (seconds) how quickly our laggy estimations decay OPTION(mon_osd_laggy_weight, OPT_DOUBLE, .3) // weight for new 'samples's in laggy estimations