make indexing during updates less quiet

Adjust verbosity behaviour to that of indexing during setup.
This commit is contained in:
Sarah Hoffmann
2020-07-28 22:35:51 +02:00
parent a863392938
commit 72335fb631

View File

@@ -103,7 +103,9 @@ $oIndexCmd = (new \Nominatim\Shell(CONST_BasePath.'/nominatim/nominatim.py'))
->addParams('--database', $aDSNInfo['database'])
->addParams('--port', $aDSNInfo['port'])
->addParams('--threads', $aResult['index-instances']);
if (!$aResult['quiet']) {
$oIndexCmd->addParams('--verbose');
}
if ($aResult['verbose']) {
$oIndexCmd->addParams('--verbose');
}