Skip to content

Commit 77c959e

Browse files
author
Vladimir Kotal
committed
report directory traversal time
1 parent fd17fd1 commit 77c959e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

opengrok-indexer/src/main/java/org/opengrok/indexer/index/IndexDatabase.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -483,6 +483,8 @@ public void update() throws IOException {
483483
Statistics elapsed = new Statistics();
484484
LOGGER.log(Level.INFO, "Starting traversal of directory {0}", dir);
485485
indexDown(sourceRoot, dir, args);
486+
elapsed.report(LOGGER, String.format("Done traversal of directory %s", dir));
487+
486488
showFileCount(dir, args, elapsed);
487489

488490
args.cur_count = 0;

0 commit comments

Comments
 (0)