diff --git a/plugin/teksi_wastewater/interlis/interlis_importer_exporter.py b/plugin/teksi_wastewater/interlis/interlis_importer_exporter.py index b052eae05..60aafce3e 100644 --- a/plugin/teksi_wastewater/interlis/interlis_importer_exporter.py +++ b/plugin/teksi_wastewater/interlis/interlis_importer_exporter.py @@ -354,9 +354,7 @@ def _export_xtf_files(self, file_name_base, export_models): def _clear_ili_schema(self, recreate_schema=False): logger.info("CONNECTING TO DATABASE...") - connection = psycopg2.connect( - get_pgconf_as_psycopg2_dsn(), options="-c statement_timeout=1000" - ) + connection = psycopg2.connect(get_pgconf_as_psycopg2_dsn()) connection.set_session(autocommit=True) cursor = connection.cursor()