X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=static%2Fdefaults.config.php;h=647fb73b13ffc325cf689a7171e45a7230daee59;hb=3a158d00ebb734b9fd2945e6ab65ee1bcf7ab426;hp=959315f8881b84891c46d96099f676bab96028cf;hpb=a31256412e2373b2ad784a7d41e75731c1658b24;p=friendica.git diff --git a/static/defaults.config.php b/static/defaults.config.php index 959315f888..647fb73b13 100644 --- a/static/defaults.config.php +++ b/static/defaults.config.php @@ -122,6 +122,16 @@ return [ // Cache avatar pictures as files (experimental) 'avatar_cache' => false, + // avatar_cache_path (String) + // File path to the avatar cache. Default is /(your basepath)/avatar/ + // The value has to be an absolute path and has to end with a "/" + 'avatar_cache_path' => '', + + // avatar_cache_url (String) + // Base URL of the avatar cache. Default is http(s)://(your hostname)/avatar/ + // The value has to start with the scheme and end with a "/" + 'avatar_cache_url' => '', + // big_emojis (Boolean) // Display "Emoji Only" posts in big. 'big_emojis' => false, @@ -154,10 +164,18 @@ return [ // Whether to use Memcache, Memcached, Redis or APCu to store temporary cache. 'cache_driver' => 'database', + // decoupled_receiver (Boolean) + // Decouple incoming AP posts by doing the processing in the background. + 'decoupled_receiver' => false, + // distributed_cache_driver (database|memcache|memcached|redis) // Whether to use database, Memcache, Memcached or Redis as a distributed cache. 'distributed_cache_driver' => 'database', + // fetch_parents (Boolean) + // Fetch missing parent posts + 'fetch_parents' => true, + // config_adapter (jit|preload) // Allow to switch the configuration adapter to improve performances at the cost of memory consumption. 'config_adapter' => 'jit', @@ -266,7 +284,15 @@ 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 + 'fetch_by_worker' => false, + + // fetch_featured_posts (Boolean) + // Fetch featured posts from all contacts + 'fetch_featured_posts' => false, // free_crawls (Integer) // Number of "free" searches when system => permit_crawling is enabled. @@ -406,6 +432,10 @@ return [ // Maximum number of concurrent database processes for foreground tasks. 'max_processes_frontend' => 20, + // max_recursion_depth (Integer) + // Maximum recursion depth when fetching posts until the job is delegated to a worker task or finished. + 'max_recursion_depth' => 50, + // maximagesize (Integer) // Maximum size in bytes of an uploaded photo. 'maximagesize' => 800000, @@ -495,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', @@ -507,6 +545,14 @@ return [ // If enabled, multiple linefeeds in items are stripped to a single one. 'remove_multiplicated_lines' => false, + // runtime_ignore (Array) + // List of ignored commands for the runtime logging. + 'runtime_ignore' => [], + + // 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. @@ -549,6 +595,10 @@ return [ // Maximum number of posts that a user can send per month with the API. 0 to disable monthly throttling. 'throttle_limit_month' => 0, + // transmit_pending_events (Boolean) + // Transmit pending events upon accepted contact request for forums + 'transmit_pending_events' => false, + // update_active_contacts (Boolean) // When activated, only public contacts will be activated regularly that are used for example in items or tags. 'update_active_contacts' => false, @@ -565,8 +615,8 @@ 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) - // Cooldown period in seconds after each worker function call. + // worker_cooldown (Float) + // Cooldown period in seconds before each worker function call. 'worker_cooldown' => 0, // worker_debug (Boolean) @@ -590,18 +640,36 @@ return [ // List of minutes for the jobs per minute (JPM) calculation 'worker_jpm_range' => '1, 10, 60', + // worker_load_cooldown (Integer) + // Maximum load that causes a cooldown before each worker function call. + 'worker_load_cooldown' => 0, + // worker_load_exponent (Integer) // Default 3, which allows only 25% of the maximum worker queues when server load reaches around 37% of maximum load. // For a linear response where 25% of worker queues are allowed at 75% of maximum load, set this to 1. // 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 per processes that causes a cooldown before each worker function call. + 'worker_processes_cooldown' => 0, + // 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) // Per default the systems tries delivering for 15 times before dropping it. 'worker_defer_limit' => 15, @@ -610,6 +678,17 @@ return [ // Timeout in seconds for fetching the XRD links and other requests with an expected shorter timeout 'xrd_timeout' => 20, ], + 'proxy' => [ + // forwarded_for_headers (String) + // A comma separated list of all allowed header values to retrieve the real client IP + // The headers are evaluated in order. + 'forwarded_for_headers' => 'HTTP_X_FORWARDED_FOR', + + // trusted_proxies (String) + // A comma separated list of all trusted proxies, which will get skipped during client IP retrieval + // IP ranges and CIDR notations are allowed + 'trusted_proxies' => '', + ], 'experimental' => [ // exp_themes (Boolean) // Show experimental themes in user settings. @@ -633,8 +712,30 @@ return [ // Logs every call to /inbox as a JSON file in Friendica's temporary directory 'ap_inbox_log' => false, + // ap_inbox_store_untrusted (Boolean) + // Store untrusted content in the inbox entries + 'ap_inbox_store_untrusted' => false, + // total_ap_delivery (Boolean) // Deliver via AP to every possible receiver and we suppress the delivery to these contacts with other protocols 'total_ap_delivery' => false, - ] + + // ap_log_unknown (Boolean) + // Logs every unknown ActivityPub activity + 'ap_log_unknown' => false, + + // ap_log_failure (Boolean) + // Logs every ActivityPub activity that couldn't be compacted + 'ap_log_failure' => false, + ], + 'smarty3' => [ + // 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, + ], ];