Skip to content

Commit bf8e3a9

Browse files
authored
fix(ingest/bigquery): set default max_overflow to -1 (#10342)
1 parent 996e5b0 commit bf8e3a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

metadata-ingestion/src/datahub/ingestion/source/bigquery_v2/bigquery_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ class BigQueryV2Config(
290290
def profile_default_settings(cls, values: Dict) -> Dict:
291291
# Extra default SQLAlchemy option for better connection pooling and threading.
292292
# https://docs.sqlalchemy.org/en/14/core/pooling.html#sqlalchemy.pool.QueuePool.params.max_overflow
293-
values["options"].setdefault("max_overflow", values["profiling"].max_workers)
293+
values["options"].setdefault("max_overflow", -1)
294294

295295
return values
296296

0 commit comments

Comments
 (0)