修复MAAT_OPT_SCAN_DETAIL选项的默认值,应为返回命中位置,随不能发挥最大性能,但可以保持向前兼容。

This commit is contained in:
zhengchao
2017-06-13 20:19:16 +08:00
parent 37a94ea838
commit 96910820bb
2 changed files with 2 additions and 4 deletions

View File

@@ -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);