TSG-3301 修复 TFE 通过配置文件设置 [maat] deferred_load_on 选项不生效的 bug
This commit is contained in:
@@ -128,7 +128,10 @@ static Maat_feather_t create_maat_feather(const char *instance_name, const char
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (deferred_load_on)
|
||||||
|
{
|
||||||
Maat_set_feather_opt(target, MAAT_OPT_DEFERRED_LOAD, &deferred_load_on, sizeof(deferred_load_on));
|
Maat_set_feather_opt(target, MAAT_OPT_DEFERRED_LOAD, &deferred_load_on, sizeof(deferred_load_on));
|
||||||
|
}
|
||||||
Maat_set_feather_opt(target, MAAT_OPT_EFFECT_INVERVAL_MS, &effect_interval, sizeof(effect_interval));
|
Maat_set_feather_opt(target, MAAT_OPT_EFFECT_INVERVAL_MS, &effect_interval, sizeof(effect_interval));
|
||||||
Maat_set_feather_opt(target, MAAT_OPT_SCAN_DETAIL, &scan_detail, sizeof(scan_detail));
|
Maat_set_feather_opt(target, MAAT_OPT_SCAN_DETAIL, &scan_detail, sizeof(scan_detail));
|
||||||
if (strlen(accept_path) > 0)
|
if (strlen(accept_path) > 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user