Standards: Rename App methods
- Rename App->max_processes_reached to App->isMaxProcessesReached - Rename App->maxload_reached to App->isMaxLoadReached
This commit is contained in:
parent
73b4e0552d
commit
d487c399dd
3 changed files with 6 additions and 6 deletions
|
@ -42,7 +42,7 @@ if (!$a->mode == App::MODE_INSTALL) {
|
|||
|
||||
Config::load();
|
||||
|
||||
if ($a->max_processes_reached() || $a->maxload_reached()) {
|
||||
if ($a->isMaxProcessesReached() || $a->isMaxLoadReached()) {
|
||||
header($_SERVER["SERVER_PROTOCOL"] . ' 503 Service Temporarily Unavailable');
|
||||
header('Retry-After: 120');
|
||||
header('Refresh: 120; url=' . System::baseUrl() . "/" . $a->query_string);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue