From 9a47e1834f6f2445a92585c104259045a9b73541 Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Sun, 17 Sep 2017 20:13:05 +0200 Subject: [PATCH] reduce message frequency during indexing --- nominatim/index.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nominatim/index.c b/nominatim/index.c index 9aa3fb86..ab87bdca 100644 --- a/nominatim/index.c +++ b/nominatim/index.c @@ -218,7 +218,7 @@ struct index_thread_data * thread_data, const char *structuredoutputfile) usleep(1000); // Aim for one update per second - if (sleepcount++ > 500) + if (sleepcount++ > 1000) { rankPerSecond = ((float)rankCountTuples + (float)count) / MAX(difftime(time(0), rankStartTime),1); if(interpolation) -- 2.39.5