mirror of
https://github.com/friendica/friendica
synced 2024-11-10 03:42:53 +00:00
Deactivating isMinMemoryReached()
This commit is contained in:
parent
62bacbb833
commit
da86581bf2
1 changed files with 7 additions and 0 deletions
|
@ -106,6 +106,12 @@ class System
|
|||
*/
|
||||
public function isMinMemoryReached(): bool
|
||||
{
|
||||
// Deactivated, needs more investigating if this check really makes sense
|
||||
return false;
|
||||
|
||||
/*
|
||||
* Commented out to suppress static analyzer issues
|
||||
*
|
||||
$min_memory = $this->config->get('system', 'min_memory', 0);
|
||||
if ($min_memory == 0) {
|
||||
return false;
|
||||
|
@ -141,6 +147,7 @@ class System
|
|||
}
|
||||
|
||||
return $reached;
|
||||
*/
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue