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

Processor: Fail stuck process events #175

Merged
merged 3 commits into from
Dec 3, 2024

Conversation

iLLiCiTiT
Copy link
Member

Changelog Description

Processor service marks events stuck for 10 minutes as failed.

Additional review information

Avoid having stuck enrolled process jobs without option to "auto-fix". It is reasonable to say that event processing that takes more than 10 minutes should be processed other way than standard listener service. This auto-fix allows to use correct service name in enroll event function.

Testing notes:

  1. To find out if it works, one must have "stuck", with "pending" status, event with ftrack.process topic in events database.
  2. If that happens then after 10 minutes is marked as failed so other processor services can continue.

@iLLiCiTiT iLLiCiTiT self-assigned this Dec 3, 2024
@iLLiCiTiT iLLiCiTiT added the type: enhancement Improvement of existing functionality or minor addition label Dec 3, 2024
@iLLiCiTiT iLLiCiTiT requested a review from 64qam December 3, 2024 14:52
@iLLiCiTiT iLLiCiTiT merged commit 612904c into develop Dec 3, 2024
5 checks passed
@iLLiCiTiT iLLiCiTiT deleted the enhancement/fail-stuck-process-events branch December 3, 2024 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement Improvement of existing functionality or minor addition
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants