Don't check malware history before scan single file 42/77742/1
authorKyungwook Tak <k.tak@samsung.com>
Fri, 1 Jul 2016 01:49:15 +0000 (10:49 +0900)
committerKyungwook Tak <k.tak@samsung.com>
Fri, 1 Jul 2016 01:49:15 +0000 (10:49 +0900)
commit48d65c5e51db08722f1364b96505a0446e5d9b95
tree8ab9017f9ecbc68987468b8533628a0ff12c20ad
parentccca4434ed1ccc5cb5a63cee71eb492da3645d7f
Don't check malware history before scan single file

Overhead to check db for all scan request is bigger than scan file. So
we check history for getting ignored flag only when file scan finished
and it has detected malware.

Change-Id: Iac391e33069cbff46cd94588837d1f0ceb813c05
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
src/framework/service/cs-logic.cpp
src/framework/service/cs-logic.h