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

太多排队任务 #362

Closed
xingwanying opened this issue Sep 8, 2024 · 2 comments
Closed

太多排队任务 #362

xingwanying opened this issue Sep 8, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@xingwanying
Copy link
Contributor

Describe the bug
入库任务被阻塞了,一直在排队

Expected behavior

需要一个失败重试的补偿机制, 比如超时任务置为失败状态,最多重试3次, 还是失败就直接跳过

Screenshots

image

@xingwanying xingwanying added the bug Something isn't working label Sep 8, 2024
Copy link

It appears that there are no other similar issues related to task blocking in the repository besides the one you've reported.

To address your issue, I recommend implementing a retry mechanism for tasks that fail or timeout. Here are some steps you can consider:

  1. Identify Timeout and Failure Conditions: Determine what constitutes a timeout or failure for your tasks.
  2. Implement Retry Logic: Add logic to retry the task up to a maximum of three times if it fails or times out.
  3. Skip After Maximum Retries: If the task still fails after the maximum retries, log the failure and skip the task.

If you need further assistance with the implementation or have any other questions, feel free to @ me for help!

@xingwanying
Copy link
Contributor Author

#600

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

No branches or pull requests

2 participants