]> git.mxchange.org Git - friendica.git/blobdiff - static/defaults.config.php
Merge pull request #9887 from MrPetovan/task/9872-normalize-frontend-api-responses
[friendica.git] / static / defaults.config.php
index 8997a60d732e4fb382bc9256ed08a0105bfd2785..e11e4c5c8d09170a924d385d7b5f54ae5adafd01 100644 (file)
@@ -55,8 +55,7 @@ return [
 
                // pdo_emulate_prepares (Boolean)
                // If enabled, the builtin emulation for prepared statements is used.
-               // When enabled, a workaround is used to ensure that the returned field types are correct,
-               // since by standard all returned values are casted as strings.
+               // This can be used as a workaround for the database error "Prepared statement needs to be re-prepared".
                'pdo_emulate_prepares' => false,
 
                // disable_pdo (Boolean)
@@ -195,6 +194,10 @@ return [
                // If it is not running and hadn't been terminated normally, it will be started automatically.
                'daemon_watchdog' => false,
 
+               // delete_sleeping_processes (Boolean)
+               // Periodically delete waiting database processes.
+               'delete_sleeping_processes' => false,
+
                // diaspora_test (Boolean)
                // For development only. Disables the message transfer.
                'diaspora_test' => false,
@@ -244,10 +247,6 @@ return [
                // Number of "free" searches when system => permit_crawling is enabled.
                'free_crawls' => 10,
 
-               // frontend_worker_timeout (Integer)
-               // Value in minutes after we think that a frontend task was killed by the webserver.
-               'frontend_worker_timeout' => 10,
-
                // groupedit_image_limit (Integer)
                // Number of contacts at which the group editor should switch from display the profile pictures of the contacts to only display the names.
                // This can alternatively be set on a per account basis in the pconfig table.
@@ -539,6 +538,11 @@ return [
                // Number of worker tasks that are fetched in a single query.
                'worker_fetch_limit' => 1,
 
+               // worker_fork (Boolean)
+               // Experimental setting. Use pcntl_fork to spawn a new worker process.
+               // Does not work when "worker_multiple_fetch" is enabled (Needs more testing)
+               'worker_fork' => false,
+
                // worker_jpm (Boolean)
                // If enabled, it prints out the jobs per minute.
                'worker_jpm' => false,
@@ -556,6 +560,7 @@ return [
                // 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.
+               // Does not work when "worker_fork" is enabled (Needs more testing)
                'worker_multiple_fetch' => false,
                
                // worker_defer_limit (Integer)