修复MAAT_OPT_SCAN_DETAIL选项的默认值,应为返回命中位置,随不能发挥最大性能,但可以保持向前兼容。
This commit is contained in:
@@ -452,9 +452,7 @@ Maat_feather_t Maat_feather(int max_thread_num,const char* table_info_path,void*
|
||||
feather->garbage_q=MESA_lqueue_create(0,0);
|
||||
feather->effect_interval_ms=60*1000;
|
||||
feather->scan_interval_ms=1*1000;
|
||||
//Prepare for comptetion,return no hit detail as default for temporary.
|
||||
feather->rule_scan_type=0;
|
||||
//feather->rule_scan_type=2;
|
||||
feather->rule_scan_type=2;
|
||||
feather->thread_call_cnt=aligment_int64_array_alloc(max_thread_num);
|
||||
feather->outer_mid_cnt=aligment_int64_array_alloc(max_thread_num);
|
||||
feather->inner_mid_cnt=aligment_int64_array_alloc(max_thread_num);
|
||||
|
||||
Reference in New Issue
Block a user