// 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
// The authentication password for the redis database
'redis_password' => null,
+ // redistribute_activities (Boolean)
+ // Redistribute incoming activities via ActivityPub
+ 'redistribute_activities' => true,
+
// relay_deny_languages (Array)
// Array of languages (two digit format) that are rejected.
'relay_deny_languages' => [],
// 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.
// 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,
// 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,
// ap_log_failure (Boolean)
// Logs every ActivityPub activity that couldn't be compacted
'ap_log_failure' => false,
+
+ // store_source (Boolean)
+ // Store the source of any post that arrived
+ 'store_source' => false,
],
'smarty3' => [
// config_dir (String)