File tree Expand file tree Collapse file tree
engine/src/main/java/com/arcadedb/index/vector Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -784,7 +784,7 @@ private void buildGraphFromScratch(final GraphBuildCallback graphCallback) {
784784 * @param graphCallback Optional callback for graph build progress
785785 */
786786 private void buildGraphFromScratchWithRetry (final GraphBuildCallback graphCallback ) {
787- // Always have a progress reporter: if caller didn't provide one, log throttled progress every ~5s
787+ // Always have a progress reporter: if caller didn't provide one, log throttled progress every ~2s
788788 final GraphBuildCallback effectiveGraphCallback ;
789789 if (graphCallback != null ) {
790790 effectiveGraphCallback = graphCallback ;
@@ -797,7 +797,7 @@ private void buildGraphFromScratchWithRetry(final GraphBuildCallback graphCallba
797797
798798 final long now = System .currentTimeMillis ();
799799 final boolean progressed = processedNodes != lastLoggedProcessed [0 ];
800- final boolean timeElapsed = now - lastLogTimeMs [0 ] >= 5000 ;
800+ final boolean timeElapsed = now - lastLogTimeMs [0 ] >= 2000 ;
801801 final boolean reachedEnd = processedNodes >= totalNodes && lastLoggedProcessed [0 ] != totalNodes ;
802802 final boolean shouldLog = progressed && (timeElapsed || reachedEnd );
803803
You can’t perform that action at this time.
0 commit comments