mirror of
https://github.com/friendica/friendica
synced 2025-04-26 09:50:15 +00:00
Merge remote-tracking branch 'upstream/2021.12-rc' into api-direct-messages
This commit is contained in:
commit
ddb2d6f5b3
16 changed files with 148 additions and 57 deletions
|
@ -55,7 +55,7 @@
|
|||
use Friendica\Database\DBA;
|
||||
|
||||
if (!defined('DB_UPDATE_VERSION')) {
|
||||
define('DB_UPDATE_VERSION', 1445);
|
||||
define('DB_UPDATE_VERSION', 1446);
|
||||
}
|
||||
|
||||
return [
|
||||
|
|
|
@ -141,6 +141,10 @@ return [
|
|||
// Whether to use Memcache, Memcached, Redis or APCu to store temporary cache.
|
||||
'cache_driver' => 'database',
|
||||
|
||||
// distributed_cache_driver (database|memcache|memcached|redis)
|
||||
// Whether to use database, Memcache, Memcached or Redis as a distributed cache.
|
||||
'distributed_cache_driver' => 'database',
|
||||
|
||||
// config_adapter (jit|preload)
|
||||
// Allow to switch the configuration adapter to improve performances at the cost of memory consumption.
|
||||
'config_adapter' => 'jit',
|
||||
|
@ -325,6 +329,14 @@ return [
|
|||
// Sets the logging adapter of Friendica globally (monolog, syslog, stream)
|
||||
'logger_config' => 'stream',
|
||||
|
||||
// syslog flags (Integer)
|
||||
// Sets the syslog flags in case 'logger_config' is set to 'syslog'
|
||||
'syslog_flags' => LOG_CONS | LOG_PID | LOG_ODELAY,
|
||||
|
||||
// syslog flags (Integer)
|
||||
// Sets the syslog facility in case 'logger_config' is set to 'syslog'
|
||||
'syslog_facility' => LOG_USER,
|
||||
|
||||
// maintenance_start (String)
|
||||
// Start of the window for the daily maintenance cron call.
|
||||
// The system timezone is used when no timezone is defined here.
|
||||
|
|
|
@ -160,13 +160,13 @@ return [
|
|||
Cache\Capability\ICanCache::class => [
|
||||
'instanceOf' => Cache\Factory\Cache::class,
|
||||
'call' => [
|
||||
['create', [], Dice::CHAIN_CALL],
|
||||
['createLocal', [], Dice::CHAIN_CALL],
|
||||
],
|
||||
],
|
||||
Cache\Capability\ICanCacheInMemory::class => [
|
||||
'instanceOf' => Cache\Factory\Cache::class,
|
||||
'call' => [
|
||||
['create', [], Dice::CHAIN_CALL],
|
||||
['createLocal', [], Dice::CHAIN_CALL],
|
||||
],
|
||||
],
|
||||
Lock\Capability\ICanLock::class => [
|
||||
|
|
|
@ -22,38 +22,42 @@
|
|||
*/
|
||||
|
||||
return [
|
||||
'MYSQL_HOST' => ['database', 'hostname'],
|
||||
'MYSQL_HOST' => ['database', 'hostname'],
|
||||
'MYSQL_USERNAME' => ['database', 'username'],
|
||||
'MYSQL_USER' => ['database', 'username'],
|
||||
'MYSQL_PORT' => ['database', 'port'],
|
||||
'MYSQL_USER' => ['database', 'username'],
|
||||
'MYSQL_PORT' => ['database', 'port'],
|
||||
'MYSQL_PASSWORD' => ['database', 'password'],
|
||||
'MYSQL_DATABASE' => ['database', 'database'],
|
||||
|
||||
// Core variables
|
||||
'FRIENDICA_ADMIN_MAIL' => ['config', 'admin_email'],
|
||||
'FRIENDICA_URL' => ['system', 'url'],
|
||||
'FRIENDICA_TZ' => ['config', 'timezone'],
|
||||
'FRIENDICA_LANG' => ['config', 'language'],
|
||||
'FRIENDICA_SITENAME' => ['config', 'sitename'],
|
||||
'FRIENDICA_URL' => ['system', 'url'],
|
||||
'FRIENDICA_TZ' => ['config', 'timezone'],
|
||||
'FRIENDICA_LANG' => ['config', 'language'],
|
||||
'FRIENDICA_SITENAME' => ['config', 'sitename'],
|
||||
|
||||
// Storage
|
||||
'FRIENDICA_DATA' => ['storage', 'name'],
|
||||
'FRIENDICA_DATA' => ['storage', 'name'],
|
||||
'FRIENDICA_DATA_DIR' => ['storage', 'filesystem_path'],
|
||||
|
||||
// Debugging/Profiling
|
||||
'FRIENDICA_DEBUGGING' => ['system', 'debugging'],
|
||||
'FRIENDICA_LOGFILE' => ['system', 'logfile'],
|
||||
'FRIENDICA_LOGLEVEL'=> ['system', 'loglevel'],
|
||||
'FRIENDICA_PROFILING' => ['system', 'profiler'],
|
||||
'FRIENDICA_DEBUGGING' => ['system', 'debugging'],
|
||||
'FRIENDICA_LOGFILE' => ['system', 'logfile'],
|
||||
'FRIENDICA_LOGLEVEL' => ['system', 'loglevel'],
|
||||
'FRIENDICA_PROFILING' => ['system', 'profiler'],
|
||||
'FRIENDICA_LOGGER' => ['system', 'logger_config'],
|
||||
'FRIENDICA_SYSLOG_FLAGS' => ['system', 'syslog_flags'],
|
||||
'FRIENDICA_SYSLOG_FACILITY' => ['system', 'syslog_facility'],
|
||||
|
||||
// Caching
|
||||
'FRIENDICA_CACHE_DRIVER' => ['system', 'cache_driver'],
|
||||
'FRIENDICA_SESSION_HANDLER' => ['system', 'session_handler'],
|
||||
'FRIENDICA_LOCK_DRIVER' => ['system', 'lock_driver'],
|
||||
'FRIENDICA_CACHE_DRIVER' => ['system', 'cache_driver'],
|
||||
'FRIENDICA_SESSION_HANDLER' => ['system', 'session_handler'],
|
||||
'FRIENDICA_DISTRIBUTED_CACHE_DRIVER' => ['system', 'distributed_cache_driver'],
|
||||
'FRIENDICA_LOCK_DRIVER' => ['system', 'lock_driver'],
|
||||
|
||||
// Redis Config
|
||||
'REDIS_HOST' => ['system', 'redis_host'],
|
||||
'REDIS_PORT' => ['system', 'redis_port'],
|
||||
'REDIS_PW' => ['system', 'redis_password'],
|
||||
'REDIS_DB' => ['system', 'redis_db'],
|
||||
'REDIS_PW' => ['system', 'redis_password'],
|
||||
'REDIS_DB' => ['system', 'redis_db'],
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue