Impl(COptionsBase& options) : limiter_(loop_, options) , optionChangeHandler_(options, loop_) { CLogging::UpdateLogLevel(options); directory_cache_.SetTtl(fz::duration::from_seconds(options.GetOptionVal(OPTION_CACHE_TTL))); }
void CLogging::UpdateLogLevel(COptionsBase & options) { debug_level_ = options.GetOptionVal(OPTION_LOGGING_DEBUGLEVEL); raw_listing_ = options.GetOptionVal(OPTION_LOGGING_RAWLISTING); }