Skip to content
Snippets Groups Projects
Commit b4d3fd13 authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

Task #9351 #9353 #9355: scan 3 levels deep

parent 491b8d77
No related branches found
No related tags found
No related merge requests found
......@@ -144,7 +144,7 @@ class CacheManager:
try:
def addSubDirectoriesToCache(directory):
depth = len(directory.replace(self.disk_usage.path_resolver.projects_path, '').strip('/').split('/'))
if depth > 2:
if depth > 3:
return
with self._cacheLock:
......@@ -161,7 +161,7 @@ class CacheManager:
if not self._updateCacheThreadRunning:
return
if depth < 2:
if depth < 3:
logger.info('tree scan: scanning \'%s\'', directory)
sd_result = self.disk_usage.path_resolver.getSubDirectories(directory)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment