X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=static%2Fdefaults.config.php;h=647fb73b13ffc325cf689a7171e45a7230daee59;hb=19155a4bb2d3f0d3935286fbb5a97333150e7dc9;hp=926cdd7d397803726465f754638f499383a3baa1;hpb=075638c0ae799a60f2b7595ad3c99145b71351e6;p=friendica.git diff --git a/static/defaults.config.php b/static/defaults.config.php index 926cdd7d39..647fb73b13 100644 --- a/static/defaults.config.php +++ b/static/defaults.config.php @@ -284,7 +284,7 @@ return [ // expire-notify-priority (integer) // Priority for the expirary notification - 'expire-notify-priority' => PRIORITY_LOW, + 'expire-notify-priority' => Friendica\Core\Worker::PRIORITY_LOW, // fetch_by_worker (Boolean) // Fetch missing posts via a background process @@ -525,6 +525,14 @@ return [ // The authentication password for the redis database 'redis_password' => null, + // relay_deny_languages (Array) + // Array of languages (two digit format) that are rejected. + 'relay_deny_languages' => [], + + // relay_deny_undetected_language (Boolean) + // Deny undetected languages + 'relay_deny_undetected_language' => false, + // session_handler (database|cache|native) // Whether to use Cache to store session data or to use PHP native session storage. 'session_handler' => 'database', @@ -544,7 +552,7 @@ return [ // runtime_loglimit (Integer) // The runtime is logged, When the program execution time is higher than this value. 'runtime_loglimit' => 0, - + // sendmail_params (Boolean) // Normal sendmail command parameters will be added when the PHP mail() function is called for sending e-mails. // This ensures the Sender Email address setting is applied to the message envelope rather than the host's default address. @@ -607,7 +615,7 @@ return [ // Minimum for this config value is 1. Maximum is 64 as the resulting profile URL mustn't be longer than 255 chars. 'username_max_length' => 48, - // worker_cooldown (Integer) + // worker_cooldown (Float) // Cooldown period in seconds before each worker function call. 'worker_cooldown' => 0, @@ -642,8 +650,18 @@ return [ // Setting 0 would allow maximum worker queues at all times, which is not recommended. 'worker_load_exponent' => 3, + // worker_max_duration (Array) + // Maximum runtime per priority. Worker processes that exceed this runtime will be terminated. + 'worker_max_duration' => [ + Friendica\Core\Worker::PRIORITY_CRITICAL => 720, + Friendica\Core\Worker::PRIORITY_HIGH => 10, + Friendica\Core\Worker::PRIORITY_MEDIUM => 60, + Friendica\Core\Worker::PRIORITY_LOW => 180, + Friendica\Core\Worker::PRIORITY_NEGLIGIBLE => 720 + ], + // worker_processes_cooldown (Integer) - // Maximum number pro processes that causes a cooldown before each worker function call. + // Maximum number per processes that causes a cooldown before each worker function call. 'worker_processes_cooldown' => 0, // worker_multiple_fetch (Boolean) @@ -651,7 +669,7 @@ return [ // 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) // Per default the systems tries delivering for 15 times before dropping it. 'worker_defer_limit' => 15, @@ -714,5 +732,10 @@ return [ // config_dir (String) // Base working directory for the templating engine, must be writeable by the webserver user 'config_dir' => 'view/smarty3', + + // use_sub_dirs (Boolean) + // By default the template cache is stored in several sub directories. + // + 'use_sub_dirs' => true, ], ];