mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-03-11 05:14:07 +00:00
Update DB.php
This commit is contained in:
@@ -57,7 +57,7 @@ class DB
|
|||||||
|
|
||||||
$iMaxExecution = ini_get('max_execution_time');
|
$iMaxExecution = ini_get('max_execution_time');
|
||||||
if ($iMaxExecution > 0) {
|
if ($iMaxExecution > 0) {
|
||||||
$conn->setAttribute(\PDO::ATTR_TIMEOUT, $iMaxExecution); // seconds
|
$this->connection->setAttribute(\PDO::ATTR_TIMEOUT, $iMaxExecution); // seconds
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user