File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -130,9 +130,13 @@ def __init__(
130130 actor_scan_interval (datetime.timedelta): The duration which specifies how often to scan
131131 for actors to deactivate idle actors. Actors that have been idle longer than
132132 actor_idle_timeout will be deactivated.
133- drain_ongoing_call_timeout (datetime.timedelta): The duration which specifies the
134- timeout for the current active actor method to finish before actor deactivation.
135- If there is no current actor method call, this is ignored.
133+ drain_ongoing_call_timeout (Optional[datetime.timedelta]): The duration which
134+ specifies the timeout for the current active actor method to finish before
135+ actor deactivation. If there is no current actor method call, this is
136+ ignored. Defaults to None, which omits the field from the configuration
137+ sent to daprd so the runtime applies its own default. An explicit value
138+ must be shorter than the daprd placement dissemination timeout, otherwise
139+ daprd will clamp it.
136140 drain_rebalanced_actors (bool): If true, Dapr will wait for drain_ongoing_call_timeout
137141 to allow a current actor call to complete before trying to deactivate an actor.
138142 reentrancy (ActorReentrancyConfig): Configure the reentrancy behavior for an actor.
You can’t perform that action at this time.
0 commit comments