From 8f447c31db83d8540ced77af1695731d46d8fefe Mon Sep 17 00:00:00 2001 From: VersusFacit <67295367+VersusFacit@users.noreply.github.com> Date: Mon, 16 Dec 2024 13:58:11 -0800 Subject: [PATCH] Readd increment to avoid infinite recursion. --- dbt/adapters/sql/connections.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbt/adapters/sql/connections.py b/dbt/adapters/sql/connections.py index e57114d6..14053362 100644 --- a/dbt/adapters/sql/connections.py +++ b/dbt/adapters/sql/connections.py @@ -113,7 +113,7 @@ def _execute_query_with_retry( bindings=bindings, retryable_exceptions=retryable_exceptions, retry_limit=retry_limit, - attempt=1, + attempt=attempt+1, ) connection = self.get_thread_connection()