]> git.openstreetmap.org Git - nominatim.git/commitdiff
reuse DB connections by default
authorSarah Hoffmann <lonvia@denofr.de>
Thu, 21 Feb 2019 22:40:40 +0000 (23:40 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Thu, 21 Feb 2019 22:40:40 +0000 (23:40 +0100)
lib/db.php

index 8dbe45355fd2ff7068fb37fc189703d998557463..66ed233740d0d3cc8330172d73b139f4ae069504 100644 (file)
@@ -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(