]> git.openstreetmap.org Git - nominatim.git/commitdiff
increase load limit for using two instances for indexing
authorSarah Hoffmann <lonvia@denofr.de>
Sat, 8 Feb 2014 16:17:30 +0000 (17:17 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Sat, 8 Feb 2014 16:17:30 +0000 (17:17 +0100)
utils/update.php

index 256d5a158c455c1866ec3cedfa859e63aa82fdf7..395f964dd9a4b3c5a6e023125d6a4929168f5c62 100755 (executable)
                        // Index file
                        if (!isset($aResult['index-instances']))
                        {
-                               if (getLoadAverage() < 15)
+                               if (getLoadAverage() < 18)
                                        $iIndexInstances = 2;
                                else
                                        $iIndexInstances = 1;