Repository navigation
Commit 179cb53
authored
docs: fix input guide example to bound the wait with wait_duration (#955)
The "Pass input to an Actor" guide example claimed that
`timeout=timedelta(seconds=60)` makes `call()` wait up to 60 seconds for
the run to finish. It doesn't. On `call()`, `timeout` is the per-request
HTTP timeout forwarded to `start()`, while the wait cap is
`wait_duration` (default `None`, i.e. wait indefinitely). A user copying
the example would block indefinitely on a long or never-finishing run.
The sync and async examples now use
`wait_duration=timedelta(seconds=60)` and the comment is reworded
accordingly.
The stale copies under `website/versioned_docs/` are left untouched on
purpose. The versioning workflow deletes and re-snapshots `version-3.0`
from `docs/` on every 3.x release, so the fix propagates there
automatically.1 parent 4e7a566 commit 179cb53
2 files changed
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
| |||
0 commit comments