Skip to content
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

Add cleanup for waiting tasks and reject adding more tasks #1670

Open
leszko opened this issue Mar 17, 2023 · 0 comments
Open

Add cleanup for waiting tasks and reject adding more tasks #1670

leszko opened this issue Mar 17, 2023 · 0 comments

Comments

@leszko
Copy link
Contributor

leszko commented Mar 17, 2023

What's the problem? (required)

When there is an issue with Catalyst getting back to update the task status, the task is forever in the waiting phase, which in turn causes the rate limited error for the users.

What's the current behavior? (required)

There is no timeout/cleanup in Livepeer Studio. The only timeout is in Catalyst.

Also, I think that Livepeer Studio should reject and not add to DB any additional tasks if there are already too many of them. Currently, new tasks are added to DB even if rate limited is returned.

Describe a possible solution you've considered (optional)

Add a timeout to the task's lifecycle.

Additional context (optional)

Related Discord thread with the issue which caused record-tester to stop working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant