mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-11-23 21:54:10 +03:00
reduce message frequency during indexing
This commit is contained in:
parent
61ed3b8ab3
commit
9a47e1834f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user