projects
/
friendica.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62bacbb
)
Deactivating isMinMemoryReached()
author
Philipp
<admin@philipp.info>
Mon, 1 Nov 2021 12:58:36 +0000
(13:58 +0100)
committer
Philipp
<admin@philipp.info>
Fri, 5 Nov 2021 19:52:45 +0000
(20:52 +0100)
src/Core/System.php
patch
|
blob
|
history
diff --git
a/src/Core/System.php
b/src/Core/System.php
index 9002c5a7b370c44c0f97b543ecc55d6396632ca0..44512390617e53008b859e1f229b159c7abf566a 100644
(file)
--- a/
src/Core/System.php
+++ b/
src/Core/System.php
@@
-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;
+ */
}
/**