Signed-off-by: fang yuxiang <fang.yuxiang@eisoo.com>
.set_default("")
.set_description(""),
+ Option("rgw_data_notify_interval_msec", Option::TYPE_INT, Option::LEVEL_ADVANCED)
+ .set_default(200)
+ .set_description("data changes notification interval to followers"),
+
Option("rgw_torrent_origin", Option::TYPE_STR, Option::LEVEL_ADVANCED)
.set_default("")
.set_description(""),
RGWDataNotifierManager notify_mgr;
uint64_t interval_msec() override {
- return cct->_conf->rgw_md_notify_interval_msec;
+ return cct->_conf->get_val<int64_t>("rgw_data_notify_interval_msec");
}
public:
RGWDataNotifier(RGWRados *_store) : RGWRadosThread(_store, "data-notifier"), notify_mgr(_store) {}