Skip to content

Commit 06479f9

Browse files
committed
more generous timeouts for delta tables
1 parent 244a82f commit 06479f9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

mp_api/client/core/client.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ def _get_delta_table(
612612
DeltaTable : If one exists at the specified bucket / prefix,
613613
will retrieve the cached instance.
614614
"""
615-
delta_timeout = f"{self.timeout}s"
615+
delta_timeout = f"{self.timeout * 3}s"
616616
full_key = f"{bucket}/{prefix}"
617617
qb_label = label or full_key.replace("/", "_").replace("-", "_")
618618

@@ -637,6 +637,7 @@ def _get_delta_table(
637637
"AWS_REGION": "us-east-1",
638638
"timeout": delta_timeout,
639639
"connect_timeout": delta_timeout,
640+
"pool_idle_timeout": delta_timeout,
640641
"retry_delay": "3",
641642
"max_retries": f"{MAPI_CLIENT_SETTINGS.MAX_RETRIES}",
642643
},

0 commit comments

Comments
 (0)