-
Task
-
Resolution: Done
-
Major
-
None
-
None
The FileSystemDeploymentService.scanDirectory iterates over all the files on the deployment dir, and if it finds a FAILED_DEPLOY mark, it acquires/releases the scan lock unnecessarily.
FileSystemDeploymentService.scanDirectory is a private method that is always called with the scan lock acquired.
The task here is to remove the unnecessary lock acquisition from the for loop.