From becf21ea1d9dbd244eb1be83728d7d28d3e2d913 Mon Sep 17 00:00:00 2001 From: Hongbo <12580159+ya0guang@users.noreply.github.com> Date: Sun, 31 Mar 2024 20:46:15 -0400 Subject: [PATCH] Seems like this wait time should be `2**i`. `1**i` always results in 1. --- backend/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/main.py b/backend/main.py index f25bd41b6..5d22413f7 100644 --- a/backend/main.py +++ b/backend/main.py @@ -87,7 +87,7 @@ async def aget_trace_url(run_id: str) -> str: await _arun(client.read_run, run_id) break except langsmith.utils.LangSmithError: - await asyncio.sleep(1**i) + await asyncio.sleep(2**i) if await _arun(client.run_is_shared, run_id): return await _arun(client.read_run_shared_link, run_id)