do not create MAS DB if MAS is disabled

This commit is contained in:
Aine 2024-10-21 13:54:38 +03:00 committed by GitHub
parent 802230a0ef
commit b9ca98d1e3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4027,7 +4027,7 @@ postgres_managed_databases_auto: |
'name': matrix_authentication_service_config_database_database, 'name': matrix_authentication_service_config_database_database,
'username': matrix_authentication_service_config_database_username, 'username': matrix_authentication_service_config_database_username,
'password': matrix_authentication_service_config_database_password, 'password': matrix_authentication_service_config_database_password,
}] if (matrix_authentication_service_config_database_host == postgres_connection_hostname) else []) }] if (matrix_authentication_service_enabled and matrix_authentication_service_config_database_host == postgres_connection_hostname) else [])
+ +
([{ ([{
'name': matrix_sliding_sync_database_name, 'name': matrix_sliding_sync_database_name,