bug: consumer timeout on infrahub.rpcs queue prevents "large" Infrahub tasks from being completed #4308
Labels
group/backend
Issue related to the backend (API Server, Git Agent)
type/bug
Something isn't working as expected
Milestone
Component
API Server / GraphQL
Infrahub version
0.16.0.dev0
Current Behavior
When you have an Infrahub generator that takes longer than 30s to execute, the message on the rpcs queue does not get ack'ed within the 30s consumer timeout that is defined.
The message will then be picked up by another worker, which will likely in the same result. Eventually the generator will be reported as completed, but might not have completely finished.
The same situation seems to happen when the synchronization of an external git repository takes longer than 30s.
Expected Behavior
The consumer timeout should be increased for generators and repository sync process, or it should be a configurable setting.
Generators or repository synchronization might take longer than 30s to complete.
Steps to Reproduce
Additional Information
No response
The text was updated successfully, but these errors were encountered: