这个有个BUG,在主进程中有控制worker的最大运行时间的设置,但是在worker里面还有一个判定,判定当前执行的任务是否达到最大运行时间。如果达到了,就自动返回执行队列中,重新执行。 <img width="729" height="1000" alt="Image" src="https://github.com/user-attachments/assets/aaf3d241-6aaa-499a-b77f-7952e1734eb8" /> <img width="810" height="437" alt="Image" src="https://github.com/user-attachments/assets/0201fd11-9fa9-403b-bf6c-44831139970b" /> <img width="1039" height="1189" alt="Image" src="https://github.com/user-attachments/assets/107c613e-ac6e-4d38-b365-ad1e30679ded" /> <img width="407" height="616" alt="Image" src="https://github.com/user-attachments/assets/7b56a134-f6c7-43aa-8d16-b061062d5883" /> 给的demo配置中没有<code>retry_after</code>的配置。 注意:这里修改完成后还需要再修改主进程中的最大运行时间,要不然用的是默认值60秒 <img width="1313" height="601" alt="Image" src="https://github.com/user-attachments/assets/bbde6d9c-3aed-4a80-8270-60329fe81419" /> <img width="802" height="675" alt="Image" src="https://github.com/user-attachments/assets/a1d86909-8540-4bab-ad08-d578c6150b04" /> <img width="1090" height="792" alt="Image" src="https://github.com/user-attachments/assets/40f6ecfc-ba36-423c-96c6-144e564f86c0" /> 这个等待的执行中有判定当前运行的时间是否超过设置的时间,如果超过了,就报错 <img width="1287" height="988" alt="Image" src="https://github.com/user-attachments/assets/7471278a-26ec-493c-8ee9-f0b28a82e060" /> <img width="915" height="586" alt="Image" src="https://github.com/user-attachments/assets/6716e7a3-c59c-44f2-af11-659416bb388a" /> 真的太坑了