File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -134,10 +134,6 @@ async def interrupt_entrypoint(value: str) -> dict:
134134
135135@task
136136async def slow_task (x : int ) -> int :
137- # Wait forever; the only exit is the start_to_close_timeout configured
138- # by tests that exercise this task's timeout path, or worker-shutdown
139- # cancellation. A finite sleep would race with the server processing the
140- # activity's completion vs. processing the timeout.
141137 await asyncio .Event ().wait ()
142138 return x
143139
Original file line number Diff line number Diff line change @@ -19,9 +19,6 @@ class State(TypedDict):
1919
2020
2121async def node (state : State ) -> dict [str , str ]: # pyright: ignore[reportUnusedParameter]
22- # Wait forever; the only exit is the start_to_close_timeout below or
23- # worker-shutdown cancellation. A finite sleep would race with the server
24- # processing the activity's completion vs. processing the timeout.
2522 await asyncio .Event ().wait ()
2623 return {"value" : "done" }
2724
You can’t perform that action at this time.
0 commit comments