Skip to content

Commit dc91a0f

Browse files
jirimoravcikTC-MO
andauthored
docs: add standby request timeout info (#1535)
This PR adds info about the request timeout for standby: - 5 minutes as the total timeout - 2 minutes as the timeout for "run choosing", only mentioned for devs --------- Co-authored-by: Michał Olender <[email protected]>
1 parent 74115a0 commit dc91a0f

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 for receiving the first response is _5 minutes_. Before the platform forwards the request to a specific Actor run, it performs a _run selection_ process to determine the specific Actor run that will handle it. This process has 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+
For requests sent to an Actor in Standby mode, the maximum time allowed until receiving the first response is _5 minutes_. This represents the overall timeout for the operation.
73+
7074
## How do I customize Standby configuration
7175
7276
The Standby configuration currently consists of the following properties:

0 commit comments

Comments
 (0)