X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/ad125a99132aabd53ead9229d980e1bd0a534927..b99a043c78f756f58b8e106ba60e999ea9538bb3:/nominatim/index.c diff --git a/nominatim/index.c b/nominatim/index.c index 3f161cc3..368fd8a5 100644 --- a/nominatim/index.c +++ b/nominatim/index.c @@ -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);