]> git.openstreetmap.org Git - nominatim.git/blobdiff - nominatim/index.c
Merge branch 'mountain_pass' of https://github.com/datendelphin/Nominatim
[nominatim.git] / nominatim / index.c
index 3f161cc3ad3a90718d1280210ad5308633d073d6..368fd8a5458c11bbcd592b8e81fc6cb4d47042d4 100644 (file)
@@ -270,7 +270,7 @@ void nominatim_index(int rank_min, int rank_max, int num_threads, const char *co
                         usleep(1000);
 
                         // Aim for one update per second
-                        if (sleepcount++ > 2000)
+                        if (sleepcount++ > 500)
                         {
                             rankPerSecond = ((float)rankCountTuples + (float)count) / MAX(difftime(time(0), rankStartTime),1);
                             fprintf(stderr, "  Done %i in %i @ %f per second - Rank %i ETA (seconds): %f\n", (rankCountTuples + count), (int)(difftime(time(0), rankStartTime)), rankPerSecond, rank, ((float)(rankTotalTuples - (rankCountTuples + count)))/rankPerSecond);