mirror of
https://github.com/friendica/friendica
synced 2024-12-23 03:20:15 +00:00
Exit with "system unavailable" when the maximum number of processes is reached
This commit is contained in:
parent
d80c21b15f
commit
79fd49f611
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ if(!$install) {
|
||||||
|
|
||||||
if ($processlist["amount"] > $max_processes) {
|
if ($processlist["amount"] > $max_processes) {
|
||||||
logger("Processcheck: Maximum number of processes for frontend tasks (".$max_processes.") reached.", LOGGER_DEBUG);
|
logger("Processcheck: Maximum number of processes for frontend tasks (".$max_processes.") reached.", LOGGER_DEBUG);
|
||||||
return;
|
system_unavailable();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue