]> git.mxchange.org Git - friendica.git/blobdiff - static/defaults.config.php
Merge pull request #9126 from MrPetovan/task/post-improvements
[friendica.git] / static / defaults.config.php
index b711345064a59cba129e793519b80b1d0b363e4b..4d595010ce5f92525560d86883be14b78c508a7b 100644 (file)
@@ -62,6 +62,13 @@ return [
                // disable_pdo (Boolean)
                // PDO is used by default (if available). Otherwise MySQLi will be used.
                'disable_pdo' => false,
+
+               // persistent (Boolean)
+               // This controls if the system should use persistent connections or not.
+               // Persistent connections increase the performance.
+               // On the other hand the number of open connections are higher,
+               // this will most likely increase the system load.
+               'persistent' => false,
        ],
        'config' => [
                // admin_email (Comma-separated list)
@@ -492,6 +499,11 @@ return [
                // Setting 0 would allow maximum worker queues at all times, which is not recommended.
                'worker_load_exponent' => 3,
 
+               // worker_multiple_fetch (Boolean)
+               // When activated, the worker fetches jobs for multiple workers (not only for itself).
+               // This is an experimental setting without knowing the performance impact.
+               'worker_multiple_fetch' => false,
+               
                // worker_defer_limit (Integer)
                // Per default the systems tries delivering for 15 times before dropping it.
                'worker_defer_limit' => 15,