From: Michael Vogel Date: Mon, 6 Jun 2016 19:22:54 +0000 (+0200) Subject: Exit with "system unavailable" when the maximum number of processes is reached X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=79fd49f61198e5eb6c3ecaefab7b34208b2b3eee;p=friendica.git Exit with "system unavailable" when the maximum number of processes is reached --- diff --git a/index.php b/index.php index 17258fd0ab..bf4ee378af 100644 --- 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(); } }