Update config

This commit is contained in:
Alexander Pankratov 2023-04-27 16:37:27 +02:00
parent 45506c53c8
commit 0a05740cb7

View File

@ -18,10 +18,6 @@ $settings = [
'logger_param' => LogObserver::class . '::log', 'logger_param' => LogObserver::class . '::log',
'logger_level' => (int)getenv('LOGGER_LEVEL'), // Logging level, available logging levels are: ULTRA_VERBOSE - 5, VERBOSE - 4 , NOTICE - 3, WARNING - 2, ERROR - 1, FATAL_ERROR - 0. 'logger_level' => (int)getenv('LOGGER_LEVEL'), // Logging level, available logging levels are: ULTRA_VERBOSE - 5, VERBOSE - 4 , NOTICE - 3, WARNING - 2, ERROR - 1, FATAL_ERROR - 0.
], ],
'updates' => [
'handle_updates' => true, // Should I handle updates?
'handle_old_updates' => false, // Should I handle old updates on startup?
],
'connection_settings' => [ 'connection_settings' => [
'all' => [ 'all' => [
'proxy' => '\SocksProxy', 'proxy' => '\SocksProxy',
@ -33,12 +29,11 @@ $settings = [
] ]
], ],
'media_socket_count' => [ 'media_socket_count' => [
'max' => 50 'max' => 1000,
] ]
], ],
'serialization' => [ 'serialization' => [
'serialization_interval' => 30, 'serialization_interval' => 60,
'cleanup_before_serialization' => true,
], ],
'db' => [ 'db' => [
'type' => getenv('DB_TYPE'), 'type' => getenv('DB_TYPE'),
@ -56,9 +51,6 @@ $settings = [
'download' => [ 'download' => [
'report_broken_media' => false, 'report_broken_media' => false,
], ],
'ipc' => [
'slow' => true
]
], ],
'api' => [ 'api' => [
'ip_whitelist' => array_filter( 'ip_whitelist' => array_filter(