Commit 467c985f authored by Hando Lukats's avatar Hando Lukats
Browse files

TEIS-2854: fixed virus scan jobs starting for each file pointer

parent 0d9a3d0e
......@@ -44,6 +44,7 @@ public class StartVirusScanJob extends SystemJobExecutor {
List<FilePointerEntity> filePointers = filePointerDataService.getByFileId(file.getId());
if(!filePointers.isEmpty()){
virusScanProcessService.startProcess(file.getId(), requestMetaDto);
counter.getAndIncrement();
}
});
} catch (Exception e) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment