Skip to content

refactor(worker): implement immediate retry in same worker#1

Merged
j2rong4cn merged 4 commits intoOpenListTeam:mainfrom
jenfonro:retry
Nov 7, 2025
Merged

refactor(worker): implement immediate retry in same worker#1
j2rong4cn merged 4 commits intoOpenListTeam:mainfrom
jenfonro:retry

Conversation

@jenfonro
Copy link
Copy Markdown

@jenfonro jenfonro commented Nov 4, 2025

修改了任务执行的逻辑

目前同一个任务会在同一个worker完成,包含重试

这有利于任务在失败时可以使用缓存数据

xhofe and others added 2 commits November 7, 2025 11:37
- Moved retry state handling to a more logical position within the execution loop.
- Improved readability by reducing unnecessary code duplication.
- Ensured that the task state is checked correctly before returning from the loop.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants