Skip to content

Commit

Permalink
Remove timeout option. Fix #76
Browse files Browse the repository at this point in the history
  • Loading branch information
domi4484 authored and 3nids committed Jan 23, 2024
1 parent d3409b1 commit 2180882
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 2180882

Please sign in to comment.