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 timeout for background tasks #1532

Open
sudan45 opened this issue Oct 7, 2024 · 0 comments
Open

Add timeout for background tasks #1532

sudan45 opened this issue Oct 7, 2024 · 0 comments

Comments

@sudan45
Copy link
Contributor

sudan45 commented Oct 7, 2024

Problem

In the background task, the service keeps trying to run when there’s an error, but it keeps retrying forever. This can slow down the system and cause issues.

Solution

We can fix this by setting a timeout for the background tasks. This means if the task fails after a certain number of tries or a set time, it will stop trying. This will help keep the system running smoothly and make it easier to handle errors.

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