mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-26 11:08:13 +00:00
make indexing during updates less quiet
Adjust verbosity behaviour to that of indexing during setup.
This commit is contained in:
@@ -103,7 +103,9 @@ $oIndexCmd = (new \Nominatim\Shell(CONST_BasePath.'/nominatim/nominatim.py'))
|
|||||||
->addParams('--database', $aDSNInfo['database'])
|
->addParams('--database', $aDSNInfo['database'])
|
||||||
->addParams('--port', $aDSNInfo['port'])
|
->addParams('--port', $aDSNInfo['port'])
|
||||||
->addParams('--threads', $aResult['index-instances']);
|
->addParams('--threads', $aResult['index-instances']);
|
||||||
|
if (!$aResult['quiet']) {
|
||||||
|
$oIndexCmd->addParams('--verbose');
|
||||||
|
}
|
||||||
if ($aResult['verbose']) {
|
if ($aResult['verbose']) {
|
||||||
$oIndexCmd->addParams('--verbose');
|
$oIndexCmd->addParams('--verbose');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user