mirror of
https://github.com/friendica/friendica
synced 2025-04-27 15:50:12 +00:00
There is now a memory limit for the poller
This commit is contained in:
parent
46371242e5
commit
715e15cbe1
4 changed files with 48 additions and 1 deletions
|
@ -41,6 +41,10 @@ function poller_run($argv, $argc){
|
|||
|
||||
$a->start_process();
|
||||
|
||||
if ($a->min_memory_reached()) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (poller_max_connections_reached()) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue