Merge pull request #5407 from aarononeal/hotfix/slowscan

Fix slow content scans.
This commit is contained in:
Twinaphex 2017-09-08 20:22:33 +02:00 committed by GitHub
commit ca6a7578e4

View File

@ -414,7 +414,7 @@ static int task_database_iterate_crc_lookup(
unsupported_content = core_info_unsupported_content_path(name);
/* don't scan files that can't be in this database */
if(!db_supports_content && !unsupported_content)
if(!db_supports_content || unsupported_content)
return database_info_list_iterate_next(db_state);
snprintf(query, sizeof(query),