Skip to content

Add conveninece RemainingTime option for Actor.start and Actor.call #472

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Pijukatel opened this issue May 16, 2025 · 0 comments · Fixed by #473
Closed

Add conveninece RemainingTime option for Actor.start and Actor.call #472

Pijukatel opened this issue May 16, 2025 · 0 comments · Fixed by #473
Assignees
Labels
enhancement New feature or request. t-tooling Issues with this label are in the ownership of the tooling team.

Comments

@Pijukatel
Copy link
Contributor

Pijukatel commented May 16, 2025

Add convenient way to start another Actor with reasonable timeout to prevent lingering actor runs after main actor shuts down.

This is one part of larger feature request in JS version of the client: apify/apify-client-js#632
(Will be first implemented in Python and then ported to JS version)

@Pijukatel Pijukatel self-assigned this May 16, 2025
@Pijukatel Pijukatel added the enhancement New feature or request. label May 16, 2025
@github-actions github-actions bot added the t-tooling Issues with this label are in the ownership of the tooling team. label May 16, 2025
Pijukatel added a commit that referenced this issue May 20, 2025
…l` and `Actor.start` (#473)

### Description

Added convenient way to start another Actor with reasonable timeout to
prevent lingering actor runs after main actor shuts down.
Added test.

`RemainingTime` value of the timeout argument is not a default one and
has to be explicitly passed by the user. Using this value will calculate
remaining time of this actor run and pass it as a timeout to the actor
that is being started.

### Issues

- Closes: #472

---------

Co-authored-by: Vlada Dusek <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request. t-tooling Issues with this label are in the ownership of the tooling team.
Projects
None yet
1 participant