mirror of
https://github.com/simon987/sist2.git
synced 2025-12-12 15:08:53 +00:00
only add new entries into new_table to save memory
This commit is contained in:
@@ -81,7 +81,6 @@ void parse(void *arg) {
|
||||
if (inc_ts != 0 && inc_ts == job->vfile.info.st_mtim.tv_sec) {
|
||||
pthread_mutex_lock(&ScanCtx.copy_table_mu);
|
||||
incremental_mark_file(ScanCtx.copy_table, doc->path_md5);
|
||||
incremental_mark_file(ScanCtx.new_table, doc->path_md5);
|
||||
pthread_mutex_unlock(&ScanCtx.copy_table_mu);
|
||||
|
||||
pthread_mutex_lock(&ScanCtx.dbg_file_counts_mu);
|
||||
|
||||
Reference in New Issue
Block a user