Skip to content

Commit ae8f9a5

Browse files
committed
Fix some ci issues
1 parent 5c28a00 commit ae8f9a5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/graph/beta/joins.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,9 @@ async def main():
511511
@g.step
512512
async def search(ctx: StepContext[SearchState, None, str]) -> str:
513513
"""Simulate a slow search operation."""
514-
await asyncio.sleep(0.1)
514+
# make the search artificially slower for 'item4' and 'item5'
515+
search_duration = 0.1 if ctx.inputs not in {'item4', 'item5'} else 1.0
516+
await asyncio.sleep(search_duration)
515517
ctx.state.searches_completed += 1
516518
return ctx.inputs
517519

0 commit comments

Comments
 (0)