From: Sarah Hoffmann Date: Thu, 21 Feb 2019 22:40:40 +0000 (+0100) Subject: reuse DB connections by default X-Git-Tag: deploy~294 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/b59c7d5bbf9e0590666a300c96189310722fc9e4 reuse DB connections by default --- diff --git a/lib/db.php b/lib/db.php index 8dbe4535..66ed2337 100644 --- a/lib/db.php +++ b/lib/db.php @@ -3,7 +3,7 @@ require_once('DB.php'); -function &getDB($bNew = false, $bPersistent = false) +function &getDB($bNew = false, $bPersistent = true) { // Get the database object $oDB = chksql(