diff --git a/src/.pg_client.py.swp b/src/.pg_client.py.swp new file mode 100644 index 00000000..78e13e11 Binary files /dev/null and b/src/.pg_client.py.swp differ diff --git a/src/pg_client.py b/src/pg_client.py index 3f79cc22..6415c88d 100644 --- a/src/pg_client.py +++ b/src/pg_client.py @@ -24,15 +24,7 @@ class MultiInstanceDBFetcher: def __init__(self, db_urls: list[str]): log.info("Initializing MultiInstanceDBFetcher") self.connections = [ - create_engine(f"postgresql+psycopg2://{url}", - pool_pre_ping=True, - connect_args={ - "keepalives": 1, - "keepalives_idle": 30, - "keepalives_interval": 10, - "keepalives_count": 5, - } - ) for url in db_urls + create_engine(f"postgresql+psycopg2://{url}") for url in db_urls ] @classmethod