diff --git a/projects/fal/src/fal/api.py b/projects/fal/src/fal/api.py index f1d75a67..1b39d3b1 100644 --- a/projects/fal/src/fal/api.py +++ b/projects/fal/src/fal/api.py @@ -76,6 +76,7 @@ f"pydantic=={pydantic_version}", "uvicorn", "starlette_exporter", + "structlog", ] diff --git a/projects/fal/src/fal/app.py b/projects/fal/src/fal/app.py index ea46a704..bba341dc 100644 --- a/projects/fal/src/fal/app.py +++ b/projects/fal/src/fal/app.py @@ -57,7 +57,7 @@ async def open_isolate_channel(address: str) -> async_grpc.Channel: channel_status = channel.channel_ready() try: - await asyncio.wait_for(channel_status, timeout=60) + await asyncio.wait_for(channel_status, timeout=1) except asyncio.TimeoutError: await _stack.aclose() raise Exception("Timed out trying to connect to local isolate")