Skip to content

Commit e5a5371

Browse files
google-genai-botcopybara-github
authored andcommitted
chore: Update create session poll spec to mitigate timeout
PiperOrigin-RevId: 782161124
1 parent b2ef9a0 commit e5a5371

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/google/adk/sessions/vertex_ai_session_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ async def _poll_session_resource():
141141

142142
@retry(
143143
stop=stop_after_attempt(5),
144-
wait=wait_exponential(multiplier=1, min=1, max=3),
144+
wait=wait_exponential(multiplier=2, min=3, max=10),
145145
retry=retry_if_result(
146146
lambda response: not response.get('done', False),
147147
),

0 commit comments

Comments
 (0)