mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-03-13 06:14:07 +00:00
reduce message frequency during indexing
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user