]> git.openstreetmap.org Git - nominatim.git/commitdiff
increase load limit for multi-threaded update
authorSarah Hoffmann <lonvia@denofr.de>
Thu, 27 Feb 2014 21:26:32 +0000 (22:26 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Thu, 27 Feb 2014 21:26:32 +0000 (22:26 +0100)
utils/update.php

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