Squashed commit of the following:
commit
a98f92fcb5f3806a5c34b96b760b33ebfc9a94cb
Author: bsachdev <bsachdev@cisco.com>
Date: Mon Aug 31 01:28:06 2020 -0400
file_api: updating lookup and block timeout from config at file cache creation
Signed-off-by: bsachdev <bsachdev@cisco.com>
{
file_cache = new FileCache(conf->max_files_cached);
max_files_cached = conf->max_files_cached;
+ file_cache->set_block_timeout(conf->file_block_timeout);
+ file_cache->set_lookup_timeout(conf->file_lookup_timeout);
}
if (file_capture_enabled)