Skip to content

Commit 7e70d6c

Browse files
committed
docs: add standby request timeout info
1 parent dc601f5 commit 7e70d6c

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

sources/platform/actors/development/programming_interface/actor_standby.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,10 @@ async def main() -> None:
176176
</TabItem>
177177
</Tabs>
178178

179+
## Timeouts
180+
181+
When you send a request to an Actor in Standby mode, the total timeout is 5 minutes to the first response. But before the request is sent to a specific Actor run, the platform needs to decide to which run should the request go. The "run choosing" process has an internal timeout of 2 minutes.
182+
179183
## Getting the URL of the Standby Actor
180184

181185
The URL is exposed as an environment variable `ACTOR_STANDBY_URL`. You can also use `Actor.config`, where the `standbyUrl` option is available.

sources/platform/actors/running/actor_standby.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@ it well. Please head to the Actor README to learn more about the capabilities of
6767
When you use the Actor in Standby mode, the system automatically scales the Actor to accommodate the incoming requests. Under the hood,
6868
the system starts new Actor runs, which you will see in the Actor runs tab, with the origin set to Standby.
6969
70+
## What is the timeout for incoming requests
71+
72+
When you send a request to an Actor in Standby mode, the timeout is 5 minutes to the first response.
73+
7074
## How do I customize Standby configuration
7175
7276
The Standby configuration currently consists of the following properties:

0 commit comments

Comments
 (0)