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

Heartbeat Implementation for Task Queue #199

Merged
merged 3 commits into from
Nov 11, 2024
Merged

Heartbeat Implementation for Task Queue #199

merged 3 commits into from
Nov 11, 2024

Conversation

movchan74
Copy link
Contributor

Introduce health check and heartbeat mechanisms to monitor task execution. Implement a heartbeat timeout for tasks and update logic for handling expired tasks based on heartbeat status. This enhances reliability of task queue.

@movchan74 movchan74 requested a review from HRashidi November 1, 2024 14:50
@movchan74 movchan74 self-assigned this Nov 1, 2024
@movchan74 movchan74 added enhancement New feature or request Reliability Aana is designed to be reliable and robust. It is built to be fault-tolerant and to handle failures labels Nov 1, 2024
Copy link
Contributor

@HRashidi HRashidi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LTGM. Just a question

aana/api/request_handler.py Show resolved Hide resolved
@movchan74 movchan74 merged commit 66969fa into main Nov 11, 2024
6 checks passed
@movchan74 movchan74 deleted the tasks_heartbeat branch November 11, 2024 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Reliability Aana is designed to be reliable and robust. It is built to be fault-tolerant and to handle failures
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants