mirror of
https://github.com/friendica/friendica
synced 2025-04-25 18:30:11 +00:00
Some small performance tweaks (indexes)
This commit is contained in:
parent
a8431584ba
commit
b5cca1ab93
4 changed files with 18 additions and 13 deletions
|
@ -733,7 +733,7 @@ class Worker
|
|||
}
|
||||
}
|
||||
|
||||
Logger::log("Load: " . $load ."/" . $maxsysload . " - processes: " . $deferred . "/" . $active . "/" . $waiting_processes . $processlist . " - maximum: " . $queues . "/" . $maxqueues, Logger::DEBUG);
|
||||
Logger::notice("Load: " . $load ."/" . $maxsysload . " - processes: " . $deferred . "/" . $active . "/" . $waiting_processes . $processlist . " - maximum: " . $queues . "/" . $maxqueues);
|
||||
|
||||
// Are there fewer workers running as possible? Then fork a new one.
|
||||
if (!DI::config()->get("system", "worker_dont_fork", false) && ($queues > ($active + 1)) && self::entriesExists()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue