]> git.mxchange.org Git - friendica.git/commitdiff
Exit with "system unavailable" when the maximum number of processes is reached
authorMichael Vogel <icarus@dabo.de>
Mon, 6 Jun 2016 19:22:54 +0000 (21:22 +0200)
committerMichael Vogel <icarus@dabo.de>
Mon, 6 Jun 2016 19:22:54 +0000 (21:22 +0200)
index.php

index 17258fd0abd32690fb8da9e53a73548e7d3f5059..bf4ee378af840ccb0810f7cfa686921a251863ba 100644 (file)
--- a/index.php
+++ b/index.php
@@ -65,7 +65,7 @@ if(!$install) {
 
                if ($processlist["amount"] > $max_processes) {
                        logger("Processcheck: Maximum number of processes for frontend tasks (".$max_processes.") reached.", LOGGER_DEBUG);
-                       return;
+                       system_unavailable();
                }
        }