diff --git a/helpers/config.py b/helpers/config.py index 5ec6f3d..4396410 100644 --- a/helpers/config.py +++ b/helpers/config.py @@ -381,7 +381,7 @@ def get_template(cls): 'postgres_settings': False, 'postgres_settings_content': '\n'.join([ '# Generated by PGConfig 3.1.0 (1d600ea0d1d79f13dd7ed686f9e2befc1fcf9226)', - '# https://api.pgconfig.org/v1/tuning/get-config?format=conf&log_format=csvlog&max_connections=100&pg_version=14&environment_name=Mixed&total_ram=2GB&cpus=1&drive_type=SSD&arch=x86-64&os_type=linux', + '# https://api.pgconfig.org/v1/tuning/get-config?format=conf&include_pgbadger=false&max_connections=100&pg_version=14&environment_name=Mixed&total_ram=2GB&cpus=1&drive_type=SSD&os_type=linux', '', '# Memory Configuration', 'shared_buffers = 256MB', @@ -1678,7 +1678,6 @@ def __questions_postgres(self): ) response = Network.curl(endpoint) if response: - configuration = re.sub(r'(log|lc_).+(\n|$)', '', response) # Patch response because of https://github.com/pgconfig/api/issues/13 configuration = re.sub(r'(\d+)KB', "\1kB", configuration) self.__dict['postgres_settings_content'] = configuration