Skip to content

Commit

Permalink
Extend timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
ddxv committed Jan 20, 2025
1 parent d82fa0b commit 04b4465
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/dbcon/connections.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def set_engine(self) -> None:
logger.info(f"Adscrawler connecting to PostgreSQL {self.db_name}")
self.engine = sqlalchemy.create_engine(
db_uri,
connect_args={"connect_timeout": 10, "application_name": "adscrawler"},
connect_args={"connect_timeout": 30, "application_name": "adscrawler"},
)
except Exception:
logger.exception(
Expand Down

0 comments on commit 04b4465

Please sign in to comment.