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

fix: queue job execution timeout #620

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

uhliksk
Copy link
Contributor

@uhliksk uhliksk commented Apr 6, 2023

Description

Moved the timeout processing into a queue to end the job correctly if it's duration is over the timeout.

Related Issue

#594

Motivation and Context

Will prevent non-deterministic behavior of the job queue.

How Has This Been Tested?

This PR is just a proposal for the solution. I'm sorry, I haven't had time to test it.

Screenshots (if appropriate):

@chrisleekr
Copy link
Owner

Hey @uhliksk

Thank you for trying to fix it up.

However, I was not able to test it out since there is no test.
I can add tests, but I hope you can verify the change is fixing the issue?

@chrisleekr chrisleekr added the bug Something isn't working label May 3, 2023
@chrisleekr chrisleekr linked an issue May 3, 2023 that may be closed by this pull request
@uhliksk
Copy link
Contributor Author

uhliksk commented May 3, 2023

Hi @chrisleekr

Thank you for a ping. I'll try to reserve some spare time to test and tune a solution this week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bot is getting slow or hags out
2 participants